We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Daniel !
Is it possible to use your module from reducer switch ? For example :
const apiMiddleware = store => next => action => { next(action); switch (action.type) { case LOGIN_THROUGH_API: console.log('callApi ...'); // Push to new route break; } };
Thank you 💪
The text was updated successfully, but these errors were encountered:
It should be possible, you could dispatch a navigation action in the middleware.
You might find this useful: https://stackoverflow.com/questions/51186205/how-to-dispatch-actions-from-redux-middleware-in-correct-order
Sorry, something went wrong.
Closed due to inactivity.
No branches or pull requests
Hello Daniel !
Is it possible to use your module from reducer switch ? For example :
Thank you 💪
The text was updated successfully, but these errors were encountered: