lore-hook-auth
Provides an action and reducer dedicated to fetching the current user
Provides an action and reducer dedicated to fetching the current user
This hook depends on:
Because this hook generates actions, it needs the models
and collections
to exist before it runs.
The actions
dependency comes from the fact that it is extending the default actions, and so it expects lore.actions
to exist before it runs.
The reducers
dependency comes from the fact that it is extending the default reducers, and so it expects lore.reducers
to exist before it runs.
The connect
dependency comes from the fact that it modifies the reducerActionMap
in for the connect
decorator, in order to link the currentUser.get
action that it generates to the currentUser
reducer that it generates.