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
Autoplay

Up next

Previous

About

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.

Instructor

Links

Comments

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

>
You need to go PRO to post comments.

Lessons in React Native with Redux