Skip to content

Commit 2ca45d7

Browse files
committed
state that all navigations are full page reloads
1 parent 7ef209e commit 2ca45d7

7 files changed

+111
-91
lines changed

lib/phoenix_live_view.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ defmodule Phoenix.LiveView do
222222
This is useful when you have a static page that does not require
223223
any connected functionality, but should render over the existing
224224
connection when navigating from an already connected LiveView.
225-
Defaults to `true`.
225+
Defaults to `true`. When navigating from a page that has `auto_connect: false`
226+
and is not connected, all navigations perform a regular `window.location`
227+
update, triggering a full page reload.
226228
227229
"""
228230
@callback mount(

priv/static/phoenix_live_view.cjs.js

Lines changed: 33 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

priv/static/phoenix_live_view.cjs.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

priv/static/phoenix_live_view.esm.js

Lines changed: 33 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

priv/static/phoenix_live_view.esm.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)