How to add multiple middlewares to Redux?

Posted by Prem Tiwari | Updated on

How to add multiple middlewares to Redux?

You can use applyMiddleware().

For example, you can add redux-thunk and logger passing them as arguments to applyMiddleware():


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers