Giovanni (@gfrancischelli) profile picture

He/Him, Brazilian, Elixir enthusiast. Swimming in nature and cinema makes me happy. @gfrancischelli.bsky.social

Joined January 2011
Photo by Giovanni (@gfrancischelli)
Why LiveView DOM patching doesn't overwrite attributes updated through JS commands? This is one of the top questions I received after my "mastering live view reconnects" talk. I finally have time to explain it 😁 Answer and link to demo in below🧵 #ElixirLang #PhoenixLiveView
1
20
TLDR; LiveView "sticky" DOM operations re-run when DOM is patched with new HTML Demo: gio.wtf/demos/sticky-ops Here's the explanation of how it works:
1
7
Win a copy of the Developing With Elixir/OTP course from Pragmatic Studio contests.smoothterminal.com/… via @smoothterminal
1
Replying to @barbaaa
@barbaaa Adiciona no Medium Brasil ? (^: @totododoido
1