Writing Tests
  • References/JavaScript/Redux/Recipes

Writing Tests Because most of the Redux code you write are functions, and many of them are pure, they are easy to test without mocking.

2025-01-10 15:47:30
Basic Reducer Structure and State Shape
  • References/JavaScript/Redux/Recipes

Basic Reducer Structure and State Shape Basic Reducer Structure First and foremost, it's important to understand

2025-01-10 15:47:30
Immutable Update Patterns
  • References/JavaScript/Redux/Recipes

Immutable Update Patterns The articles listed in

2025-01-10 15:47:30
Initializing State
  • References/JavaScript/Redux/Recipes

Initializing State There are two main ways to initialize state for your application. The createStore method can accept an optional

2025-01-10 15:47:30
Structuring Reducers
  • References/JavaScript/Redux/Recipes

Structuring Reducers At its core, Redux is really a fairly simple design pattern: all your "write" logic goes into a single function, and the

2025-01-10 15:47:30
Migrating to Redux
  • References/JavaScript/Redux/Recipes

Migrating to Redux Redux is not a monolithic framework, but a set of contracts and a

2025-01-10 15:47:30
Computing Derived Data
  • References/JavaScript/Redux/Recipes

Computing Derived Data Reselect is a simple library for creating

2025-01-10 15:47:30
Server Rendering
  • References/JavaScript/Redux/Recipes

Server Rendering The most common use case for server-side rendering is to handle the initial render when a user (or search engine crawler)

2025-01-10 15:47:30
Managing Normalized Data
  • References/JavaScript/Redux/Recipes

Managing Normalized Data As mentioned in Normalizing State Shape

2025-01-10 15:47:30
Normalizing State Shape
  • References/JavaScript/Redux/Recipes

Normalizing State Shape Many applications deal with data that is nested or relational in nature. For example, a blog editor could have many

2025-01-10 15:47:30