Book Image

Redux Recipes [Video]

Book Image

Redux Recipes [Video]


Overview of this book

State management is absolutely critical in providing users with a well-crafted experience with minimal bugs. Redux provides a solid, stable, and mature solution to managing state in your React application. In this course, you’ll explore advanced state management techniques, router integration, and other common problems that you might encounter while developing your applications. The recipe-based approach allows you to quickly identify your problem and find a solution to it. This course also consists of various recipes that will help you to understand different test-case scenarios created in Redux. Once you are well-acquainted with Redux, the course will explicitly show you how they work in developing a consistent application with React. The code bundle for this video course is available at
Table of Contents (6 chapters)
Chapter 1
Up and Running with Redux
Content Locked
Section 10
Splice Reducers and Combine Them
Splicing the reducer function into separate reducers each one can manage only a small part of the state and we can combine them again into a root reducer and pass it to the createStore function. - Add a new part in the project for users into the state, action, and reducer to be tested - Make separate reducers for orders and another for users - Combine both reducers into one using combineReducers function and pass it to createStore function