This has been doing my head in but I’m seeing a full re-render of my pages when using .link and push_navigate within the same live_session
.
This navigation is definitely between pages in the same live_session
and the only on_mount
is the UserAuth
generated by the mix phx.gen.auth
.
I’ve also confirmed that the only layouts being applied is the put_root_layout
as part of the browser and the layout declared as part of the :live_view
.
The only thing that looks out of the ordinary is this line in the console when I navigate between the two routes.
destroyed: the child has been removed from the parent
I don’t understand what I could possibly be missing at this point!
- Phoenix Versions
{:phoenix, "~> 1.7.21"},
{:phoenix_ecto, "~> 4.5"},
{:phoenix_html, "~> 4.1"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:phoenix_live_view, "~> 1.0"},