<story><title>Live previews with Rails and Stimulus 2</title><url>https://nts.strzibny.name/rails-stimulus-live-preview/</url></story><parent_chain></parent_chain><comment><author>strzibny</author><text>Based on the feedback, I updated the post with one more approach based on the idea from &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;news.ycombinator.com&amp;#x2F;item?id=26554476#26556540&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;news.ycombinator.com&amp;#x2F;item?id=26554476#26556540&lt;/a&gt;. The second approach avoids Rails UJS in favour of Turbo Frame.&lt;p&gt;Of course there are even more ways how to do this kind of thing. Keep sharing!</text></comment>
<story><title>Live previews with Rails and Stimulus 2</title><url>https://nts.strzibny.name/rails-stimulus-live-preview/</url></story><parent_chain></parent_chain><comment><author>yuppiepuppie</author><text>As someone who is only vaguely familiar with Rails and doesnt really know anything about stimulus, it would be nice to have a &amp;quot;What this looks like&amp;quot; section with a gif of what the user sees. Otherwise, I dont know what this article is talking about. Im interested as there is probably some application to my daily work, but a wall of code and words doesnt tell me much very quickly.</text></comment>