You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Many thanks to you for the work.
I have a question. Why is the response used next by default? In this case, the action with the request goes through the chain of middlewares only after redux-axios-middleware. Thus, if we do, for example, the middleware of authentification, we will have to:
Divide the middleware fo authentification into two to process the request and response. Insert them before and after redux-axios-middleware.
Override onSuccess and onError methods in options.
Why not call dispatch by default?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello! Many thanks to you for the work.
I have a question. Why is the response used next by default? In this case, the action with the request goes through the chain of middlewares only after redux-axios-middleware. Thus, if we do, for example, the middleware of authentification, we will have to:
Why not call dispatch by default?
Thanks!
The text was updated successfully, but these errors were encountered: