<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="38414" data-post-id="38414">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="jschoch" data-post="111" data-topic="3277">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jschoch/48/16709_2.png" class="avatar"> jschoch:</div>
<blockquote>
<p>Another area I am wondering about is mobile.  How would this work for a mobile app?</p>
</blockquote>
</aside>
<p>Nothing special there, it is backend communication, not CSS or a rendering library.  ^.^</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38414" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/112">Post #111</a>
	                </div>
	            </div>
              <div id="likers-container-38414" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38414"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #111"></div>
  </section>
</div>
    <div class="postbit" id="38435" data-post-id="38435">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jschoch" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jschoch/120/16709_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jschoch
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>does master on github have a working Drab.Live module?  Trying it out and not able to get it working with the example code from tg.pl/drab/live.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38435" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/113">Post #112</a>
	                </div>
	            </div>
              <div id="likers-container-38435" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38435"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #112"></div>
  </section>
</div>
    <div class="postbit" id="38465" data-post-id="38465">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="grych" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/grych/120/5610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  grych
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Drab</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yes, it is in the master. If you want to play with this, there is a test Phoenix App in <code>test/support</code> configured to work with <code>Drab.Live</code>. Warning, on this stage it is a sandbox for me, so please forgive the mess <img src="https://forum.elixirforum.com/images/emoji/apple/wink.png?v=15" title=":wink:" class="emoji" alt=":wink:" loading="lazy" width="20" height="20"></p>
<p>Using Live in the external application requires some configuration, like define Drab Template Engine, etc. It will be described with <code>v0.5.0</code>, soon.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38465" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/114">Post #113</a>
	                </div>
	            </div>
              <div id="likers-container-38465" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38465"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #113"></div>
  </section>
</div>
    <div class="postbit" id="38661" data-post-id="38661">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="grych" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/grych/120/5610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  grych
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Drab</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi guys,<br>
news from  <code>Drab.Live</code> world - <strong>living scripts</strong>. Every <code>&lt;script&gt;</code> in the template, which has any elixir expression with assign(s),  will be re-evaluated when the assign changes.</p>
<p>Example:</p>
<pre><code>&lt;script&gt;
  document.querySelector("#growing_button").style.height = "&lt;%= @button_height %&gt;px"
&lt;/script&gt;
</code></pre>
<p>Change the value of <code>@button_height</code> assign - in the Commander, or directly in IEx:</p>
<pre><code>poke socket, button_height: 100
</code></pre>
<p>And - voila - button changes its size <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
<p>As usual, I’ve created a demo <a href="https://tg.pl/drab/live#scripts" rel="noopener nofollow ugc">https://tg.pl/drab/live#scripts</a></p>
<h3><a name="p-38661-next-in-drablive-1" class="anchor" href="#p-38661-next-in-drablive-1" aria-label="Heading link" rel="nofollow"></a>Next in Drab.Live</h3>
<h4><a name="p-38661-special-form-for-node-properties-overminddl1-style-2" class="anchor" href="#p-38661-special-form-for-node-properties-overminddl1-style-2" aria-label="Heading link" rel="nofollow"></a>Special form for node properties (<a class="mention" href="/u/overminddl1" rel="nofollow">@OvermindDL1</a> - style):</h4>
<pre><code>&lt;tag @property=&lt;%= @assign %&gt;&gt;
&lt;tag @property="string template with &lt;%= expression %&gt; inside"&gt;
&lt;tag @property.deeper=&lt;%= some_function(@assign) %&gt;&gt;
</code></pre>
<p>Notice I am going to use <code>@prop=</code> instead of <code>prop$=</code>, so it will not mess with JS libaries.</p>
<h4><a name="p-38661-work-with-partials-updates-only-within-the-partial-3" class="anchor" href="#p-38661-work-with-partials-updates-only-within-the-partial-3" aria-label="Heading link" rel="nofollow"></a>Work with partials - updates only within the partial:</h4>
<pre><code>poke socket, "user.html", name: "Mirmił"
poke socket, "web/templates/users/user.html.drab", name: "Łamignat"
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38661" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/115">Post #114</a>
	                </div>
	            </div>
              <div id="likers-container-38661" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38661"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #114"></div>
  </section>
</div>
    <div class="postbit" id="38678" data-post-id="38678">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="tmbb" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  tmbb
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Living scripts are pretty cool. Just be sure to add a warning saying that “Drab doesn’t understand or parse javascript, and the entire script will be rerun no matter what”. I can see some people shooting thenselves in the foot over this <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38678" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/116">Post #115</a>
	                </div>
	            </div>
              <div id="likers-container-38678" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38678"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #115"></div>
  </section>
</div>
    <div class="postbit" id="38817" data-post-id="38817">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jschoch" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jschoch/120/16709_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jschoch
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>i added a repo with a fully working app and a small guide here: <a href="https://github.com/jschoch/drab_test_app" class="inline-onebox" rel="noopener nofollow ugc">GitHub - jschoch/drab_test_app: working drab live example · GitHub</a></p>
<p>I may do an example for unpoly if anyone is interested in a quickstart.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38817" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/117">Post #116</a>
	                </div>
	            </div>
              <div id="likers-container-38817" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38817"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #116"></div>
  </section>
</div>
    <div class="postbit" id="38847" data-post-id="38847">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="grych" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/grych/120/5610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  grych
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Drab</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><strong>Properties Syntax</strong> finished. Now you can assign any Node property with any Elixir expression by simple:</p>
<pre><code>&lt;button @style.backgroundColor=&lt;%= gen_css_color(@color) %&gt;
</code></pre>
<h4><a name="p-38847-you-may-use-the-full-path-to-the-property-1" class="anchor" href="#p-38847-you-may-use-the-full-path-to-the-property-1" aria-label="Heading link" rel="nofollow"></a>You may use the full path to the property</h4>
<p>Like <code>style.backgroundColor</code> or anything valid.</p>
<h4><a name="p-38847-the-expression-must-return-js-encodable-value-2" class="anchor" href="#p-38847-the-expression-must-return-js-encodable-value-2" aria-label="Heading link" rel="nofollow"></a>The expression must return JS encodable value</h4>
<p>Unlike the attributes (string only!), other JS data types are allowed. Under the only condition: they must be encodable to JS (using <code>Poison</code>).</p>
<h4><a name="p-38847-case-sensitivity-is-preserved-3" class="anchor" href="#p-38847-case-sensitivity-is-preserved-3" aria-label="Heading link" rel="nofollow"></a>Case Sensitivity is preserved</h4>
<p>Although html5 properties are case insensitive, Drab preserves it. So you may freely use <code>@style.backgroundColor</code></p>
<h4><a name="p-38847-there-can-be-only-one-4" class="anchor" href="#p-38847-there-can-be-only-one-4" aria-label="Heading link" rel="nofollow"></a>There can be only one</h4>
<p>The only allowed syntax is to bind single property with single expression. No String patterns allowed. This means that instead doing:</p>
<pre><code>&lt;tag @style.height="&lt;%= @height %&gt;px"&gt; &lt;!--- WRONG PROHIBITED BAD DO NOT TOUCH DOES NOT COMPUTE--&gt;
</code></pre>
<p>you must do:</p>
<pre><code>&lt;tag @style.height=&lt;%= "#{@height}px" %&gt;&gt; 
</code></pre>
<p>As usuall, there is a new simple example: <a href="https://tg.pl/drab/live#properties" rel="noopener nofollow ugc">https://tg.pl/drab/live#properties</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38847" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/118">Post #117</a>
	                </div>
	            </div>
              <div id="likers-container-38847" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38847"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #117"></div>
  </section>
</div>
    <div class="postbit" id="38856" data-post-id="38856">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jschoch" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jschoch/120/16709_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jschoch
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>can you share some examples of your unpoly accessors?  I was trying to get a modal button working but it does not seem hook the drab-click event correctly when in the modal view.  viewing the page direct works fine with drab so i’m not sure what you did to make these work together.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38856" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/119">Post #118</a>
	                </div>
	            </div>
              <div id="likers-container-38856" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38856"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #118"></div>
  </section>
</div>
    <div class="postbit" id="38864" data-post-id="38864">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jschoch" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jschoch/120/16709_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jschoch
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>i made a bit more progress but it seems like a hack:</p>
<p><a href="https://github.com/jschoch/unpolydrab/blob/master/web/templates/layout/drab.html.eex#L5" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/jschoch/unpolydrab/blob/master/web/templates/layout/drab.html.eex#L5</a></p>
<p>this doesn’t seem like the right approach though.  Seems i need some hook to tell unpoly to have drab run it’s evaluation after it pulls down it’s selector.</p>
<p>exec_js works fine to close the modal here</p>
<p><a href="https://github.com/jschoch/unpolydrab/blob/master/web/commanders/live_commander.ex#L56" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/jschoch/unpolydrab/blob/master/web/commanders/live_commander.ex#L56</a></p>
<p>but then the “logout” button isn’t tagged correctly.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38864" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/120">Post #119</a>
	                </div>
	            </div>
              <div id="likers-container-38864" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38864"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #119"></div>
  </section>
</div>
    <div class="postbit" id="38941" data-post-id="38941">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="jschoch" data-post="119" data-topic="3277" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jschoch/48/16709_2.png" class="avatar"> jschoch:</div>
<blockquote>
<p>can you share some examples of your unpoly accessors?  I was trying to get a modal button working but it does not seem hook the drab-click event correctly when in the modal view.  viewing the page direct works fine with drab so i’m not sure what you did to make these work together.</p>
</blockquote>
</aside>
<aside class="quote no-group" data-username="jschoch" data-post="120" data-topic="3277">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jschoch/48/16709_2.png" class="avatar"> jschoch:</div>
<blockquote>
<p>this doesn’t seem like the right approach though.  Seems i need some hook to tell unpoly to have drab run it’s evaluation after it pulls down it’s selector.</p>
</blockquote>
</aside>
<p>Sounds like you are not running the unpoly calls to tell it the DOM updated so it needs to update things and handle events back from it, see:</p><aside class="onebox allowlistedgeneric" data-onebox-src="https://unpoly.com/up.fragment">
  <header class="source">
      <img src="https://unpoly.com/images/favicon-2d52fc7a.png" class="site-icon" alt="" width="96" height="96">

      <a href="https://unpoly.com/up.fragment" target="_blank" rel="noopener nofollow ugc">unpoly.com</a>
  </header>

  <article class="onebox-body">
    

<h3><a href="https://unpoly.com/up.fragment" target="_blank" rel="noopener nofollow ugc">Fragment API - Unpoly</a></h3>



  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://unpoly.com/up.event">
  <header class="source">
      <img src="https://unpoly.com/images/favicon-2d52fc7a.png" class="site-icon" alt="" width="96" height="96">

      <a href="https://unpoly.com/up.event" target="_blank" rel="noopener nofollow ugc">unpoly.com</a>
  </header>

  <article class="onebox-body">
    

<h3><a href="https://unpoly.com/up.event" target="_blank" rel="noopener nofollow ugc">Events - Unpoly</a></h3>



  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://unpoly.com/up.script">
  <header class="source">
      <img src="https://unpoly.com/images/favicon-2d52fc7a.png" class="site-icon" alt="" width="96" height="96">

      <a href="https://unpoly.com/up.script" target="_blank" rel="noopener nofollow ugc">unpoly.com</a>
  </header>

  <article class="onebox-body">
    

<h3><a href="https://unpoly.com/up.script" target="_blank" rel="noopener nofollow ugc">Custom JavaScript - Unpoly</a></h3>



  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
<p>
Lot of registration handling here:  <a href="https://unpoly.com/up.compiler" class="inline-onebox" rel="noopener nofollow ugc">up.compiler() - Unpoly</a><br>
But what command specifically I use the most is:  <a href="https://unpoly.com/up.replace" class="inline-onebox" rel="noopener nofollow ugc">up.replace() - Unpoly</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="38941" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/121">Post #120</a>
	                </div>
	            </div>
              <div id="likers-container-38941" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="38941"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #120"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/3277/load_more?page=13">Load more posts (368 remaining)</a>
</div></template></turbo-stream>