React

Redux Quiz - middleware in redux

18.

What is the purpose of middleware in Redux?

It enhances the performance of Redux by caching the dispatched actions.

It provides a way to modify the data stored in the Redux store.

It directly modifies the Redux store based on the intercepted action.

It allows you to write custom logic that gets executed before or after an action reaches the reducer.