Recipes These are some use cases and code snippets to get you started with Redux in a real app. They assume you understand the topics in
Motivation As the requirements for JavaScript single-page applications have become increasingly complicated, our code must manage more
Examples Redux is distributed with a few examples in its
Basic Reducer Structure and State Shape Basic Reducer Structure First and foremost, it's important to understand
Redux FAQ: Reducers Table of Contents
Redux FAQ: General Table of Contents
Refactoring Reducer Logic Using Functional Decomposition and Reducer Composition It may be helpful to see examples of what the different types
Initializing State There are two main ways to initialize state for your application. The createStore method can accept an optional
Structuring Reducers At its core, Redux is really a fairly simple design pattern: all your "write" logic goes into a single function, and the
applyMiddleware(...middlewares) Middleware is the suggested way to extend Redux with custom functionality. Middleware lets you wrap the store's
Page 5 of 7