Stop mounting your LiveView twice
Every LiveView mounts twice — once for the dead render, once when the socket connects.
Everyone reaches for connected?(socket), but it doesn’t stop the double mount; it just hides it.
What that quietly costs you, and how to actually mount once:
https://elixirdrops.net/d/9mrw2kg3
Read next Thinking Elixir 309: The Final Episode
