Introduction

Here is an introduction to Middlewares.

Middleware is one of Redux’s most powerful concepts and will hold the bulk of an application’s logic and generic service code. To understand middleware, it’s best to first examine the regular data flow in Redux. Any action dispatched to the store is passed to the root reducer together with the current state to generate a new one. Middleware allows us to add code that will run before the action is passed to the reducer.

Get hands-on with 1200+ tech skills courses.