A hook for data that should be saved to the session data.
The unique id of the view.
Optional
The default value or a callback to set default value.
An object with a flag indicating if the session data has been initialized, the current session data and a setter callback.
A hook for data that should be saved to the session data.