Web / React native Interview questions
What is Redux middleware?
Redux middleware is a function or a piece of code that sits between action and reducer and can interact with the dispatched action before reaching the reducer function.
A redux middleware can be used for many purposes such as logging (for example, redux-logger), asynchronous API calls, and so on.
Redux Thunk and Redux Saga are some of the popular redux middlewares.
More Related questions...