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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Lot of work to be done but you can give this a try:</p>
<p><a href="https://github.com/crqra/webview" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/crqra/webview</a></p>
<p>I can work on it if there’s interest.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="191642" data-batch-url="/posts/batch_likers">
                        4
                      </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/desktop-gui-app-with-elixir/34560/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-191642" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="191642"
                     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 #11"></div>
  </section>
</div>
    <div class="postbit" id="191848" data-post-id="191848">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="ityonemo" data-post="10" data-topic="34560">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/ityonemo/48/11341_2.png" class="avatar"> ityonemo:</div>
<blockquote>
<p>you’ve attached liveview to react native?</p>
</blockquote>
</aside>
<p>There is this little comment in the documentation (on the very bottom, the last code snippet) <a href="https://hexdocs.pm/phoenix_live_view/js-interop.html#client-hooks" class="inline-onebox" rel="noopener nofollow ugc">JavaScript interoperability — Phoenix LiveView v1.2.5</a> that explains how to interface with existing JS (in that case AlpineJS). I found that bit of code somehow cryptic but I used it as is and it’s working..<br>
<em>If someone has more links about that <code>dom:</code> and <code>window.___.clone</code> part I definitely want to learn more about that..</em></p>
<p><a class="mention" href="/u/ityonemo" rel="nofollow">@ityonemo</a>  <a class="mention" href="/u/elcritch" rel="nofollow">@elcritch</a> I don’t have much experience with Front-end frameworks but I played a little with Vue and more recently with Svelte.<br>
But I guess that it might be easier to do this (attaching liveview with some front end code) with Svelte.. Because there is no VDOM or complex runtime code.<br>
Also, Svelte for example has some option to do server-side hydration, so I guess that it could be possible to use liveview to update not only some data but even the views of Svelte components.</p>
<p>Again I’m not that expert in Front-ends but I’ll definitely try some experience soon..<br>
<em>Already tried SS hydration with regular SSR Phoenix..</em></p>
<p>Anyway, I’m interested in that topic and waiting to read more from you guys!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="191848" 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/desktop-gui-app-with-elixir/34560/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-191848" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="191848"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></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>