...

/

The measureMiddleware

The measureMiddleware

Learn how to create the middleware in redux.

We'll cover the following...

Our time-measuring middleware looks like this:

const measureMiddleware = () => next => action => {
   console.time(action.type);
  
...