Phoenix LiveView v0.15.0 Phoenix.LiveView.Socket.AssignsNotInSocket View Source

Struct for socket.assigns while rendering.

The socket assigns are available directly inside the template as LiveEEx assigns, such as @foo and @bar. Any assign access should be done using the assigns in the template where proper change tracking takes place.

Link to this section Summary

Link to this section Types

Specs

t() :: %Phoenix.LiveView.Socket.AssignsNotInSocket{__assigns__: term()}