Sign in Go Pro

React Native with Redux

Implement Redux Middleware for Logging

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next



Redux Middleware is a way to intercept all the actions flowing through Redux, and gives the option to do something with those actions. We'll explore how middleware can be used for simple things like logging, and more complex things like API calls, or error handling.

Middleware functions all have the function shape:

const middleware = store => next => action => {}

It's also important to remember to call next to dispatch any action that comes through the middleware.




There are no comments on this lesson, start the conversation below ...


Lessons in React Native with Redux