I have a stream:
<span id="element-js" class="hidden" phx-update="stream">
<span
:for={{dom_id, element} <- @streams.js_elements}
id={dom_id}
data-click={JS.patch(~p"/elements/#{element}?#{@query}")}
/>
</span>
When I update @query
, I can debug my LiveView heex to see that the data-click
is being updated properly. But the HTML in my client isn’t updated.
I suspect my issue is related to this one. Does LiveView simply not update streamed rows?
Thanks!