How do I add multiple Middlewares to Redux?

You can simply pass the middlewares in the comma separated manner like the following code: const store = createStore(reducer, applyMiddleware(thunk, logger)); Note: Please import the applyMiddlware, thunk, and logger at the top.

Sizin İçin Seçtik  How do I invest in Bitfinex?

Leave a Reply

Your email address will not be published. Required fields are marked *