Modules
Mutare mutators for the Phoenix LiveView surface: socket navigation, callback reply tuples, stream operations, pushed client events, child-component updates, and lifecycle-hook attachment.
:lv_event — removes Phoenix.LiveView.push_event/3,4, the call that ships a
server-initiated event to the client's handleEvent JS hook
(push_event(socket, "highlight", %{id: 1}), optionally with trailing options such as
dispatch: :before)
:lv_hook — removes a Phoenix.LiveView lifecycle-hook management call, collapsing it to
the socket it would have returned
:lv_nav — swaps a LiveView's socket-navigation call between its two patch/navigate forms
:lv_reply — drops the optional trailing element of a LiveView callback's return tuple,
reshaping it into a different but still valid return. Fires in modules that implement
@behaviour Phoenix.LiveView or @behaviour Phoenix.LiveComponent
:lv_send_update — mutates a Phoenix.LiveView component-update call, the message that tells
a child Phoenix.LiveComponent to re-render with new assigns. Two kinds, each a variant label
:lv_stream — mutates Phoenix.LiveView stream operations. Three kinds, each a variant
label