<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="90893" data-post-id="90893">
  <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
                  </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>This is because Drab is a kind of interoperability stuff between browser and server.</p>
<p>I’ve been thinking about casting everything as string, it would be easier to implement, but we would loose quite essential information about the type.</p>
<p>Now, you can pass the argument to the handler as any valid, JSONable javascript, so if you do <code>drab-click="subscribe_market([1, 2, 3])"</code> you’ll get an Elixir list in you handler.</p>
<p>Vice versa, if you set the object property with <code>set_prop(socket, "#myelem", property: [1, 2, 3])</code> you expect that <code>document.getElementById("myelem").property == [1, 2, 3]</code>. An array, not a string “[1,2,3]”.</p>
<p>That was my understanding when I implement this.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="90893" 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/dynamic-subscriptions-on-server-events/15557/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-90893" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="90893"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-most-liked cat-most-liked" title="One of the top 3 liked posts in this thread!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>