A combined hook that returns both state and mutators.
The state type.
The reducer map type.
The atom definition.
A tuple [state, actions].
[state, actions]
A combined hook that returns both state and mutators.