Search
Application page state
@type changes() :: [atom()]
@type field() :: :session_id | :tab | :view | :action | :assigns
@type t() :: %LiveNavigator.Page{ __changed__: changes(), action: atom(), assigns: map(), session_id: binary(), tab: pos_integer(), view: module() }
@spec update(t(), map() | keyword()) :: t()
@spec update(t(), field(), any()) :: t()