Is your feature request related to a real problem or use-case?
Yes. I want to access to the state in my action creator in order to inject a jwt in my actions.
This use case is pretty common if your app uses an API that require an authorization token (app like facebook or instagram). Instead of getting the token and dispatching it in the action manually:
Is your feature request related to a real problem or use-case?
Yes. I want to access to the state in my action creator in order to inject a jwt in my actions. This use case is pretty common if your app uses an API that require an authorization token (app like facebook or instagram). Instead of getting the token and dispatching it in the action manually:
Describe a solution including usage in code example
It would be better if the authToken can be injected in the action creator:
Who does this impact? Who is this for?
People using an API that require an authorization token
Describe alternatives you've considered (optional)
Additional context (optional)