Skip to content

Fix docs: correct push_event behavior on redirect#4183

Open
preciz wants to merge 1 commit intophoenixframework:mainfrom
preciz:fix-push-event-docs
Open

Fix docs: correct push_event behavior on redirect#4183
preciz wants to merge 1 commit intophoenixframework:mainfrom
preciz:fix-push-event-docs

Conversation

@preciz
Copy link
Copy Markdown
Contributor

@preciz preciz commented Mar 27, 2026

Update the docs for push_event/3 to reflect that events pushed during a redirect (such as push_navigate/2) are sent to the client before the redirection happens, rather than being discarded.

History:
c01e90b
cb7db8b
968bd54

Test showing events sent during redirect:
test/phoenix_live_view/integrations/event_test.exs:55

Update the documentation for push_event/3 to correctly reflect that events pushed during a redirect (such as push_navigate/2) are sent to the client before the redirection happens, rather than being discarded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant