View Source Phoenix.UI.Hooks (Phoenix UI v0.1.8)
Helper module for loading data via LiveView lifecycle events.
Link to this section Summary
Functions
Attaches a hook that will parse and assign a URI struct on every handle_params
lifecycle event.
Link to this section Functions
@spec on_mount(atom(), map(), map(), Phoenix.LiveView.Socket.t()) :: {atom(), Phoenix.LiveView.Socket.t()}
Attaches a hook that will parse and assign a URI struct on every handle_params
lifecycle event.