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


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dominicletz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dominicletz/120/27657_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dominicletz
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Elixir Desktop</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yeah, I think a ton of apps would benefit from the BEAM resilience. You never want your whole Desktop app crash just because a ui toggle has a slight bug or such. That said the initial packaging needed for deployment is a hassle still. But in my opinion LiveView is really great for Desktop applications. With the guaranteed 0 latency on a desktop it’s even better than in the web.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="364487" 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/how-could-beam-vm-benefit-a-desktop-app/70553/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-364487" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="364487"
                     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 #21"></div>
  </section>
</div>
    <div class="postbit" id="364869" data-post-id="364869">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>It sounds like you are asking for a clear separation between your model and your view and handle the case where your view has a bug.</p>
<p>If your view layer is purely a visualization of your model (and it rarely is), then this should be rather easy. The question is though whether your application would be usable with your bug, because it is likely to crash over and over again.</p>
<p>You might now want to have a separate process for every component, but I would suspect that this becomes quickly a performance issue. Not because of the number of processes, but because you have to walk your tree to render it. Doable? sure. Performant? For a small, simple UI for sure, but for something more complex? More questionable (especially if you have other processes that might access your component processes in the meantime for example to handle UI clicks)</p>
<p>But happy to be proven wrong</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="364869" 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/how-could-beam-vm-benefit-a-desktop-app/70553/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-364869" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="364869"
                     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>