From 91c67159f0da5cd2733e12c95e7702982aa5bf35 Mon Sep 17 00:00:00 2001 From: Gavin Morgan Date: Tue, 20 Sep 2016 21:51:57 -0700 Subject: [PATCH] Provides "how" (#1969) http://ell.stackexchange.com/questions/49448/using-that-or-how-after-describe/49477#49477 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 65d895d7dc..9b80d79de7 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ store.dispatch({ type: 'DECREMENT' }) Instead of mutating the state directly, you specify the mutations you want to happen with plain objects called *actions*. Then you write a special function called a *reducer* to decide how every action transforms the entire application's state. -If you're coming from Flux, there is a single important difference you need to understand. Redux doesn't have a Dispatcher or support many stores. Instead, there is just a single store with a single root reducing function. As your app grows, instead of adding stores, you split the root reducer into smaller reducers independently operating on the different parts of the state tree. This is exactly like there is just one root component in a React app, but it is composed out of many small components. +If you're coming from Flux, there is a single important difference you need to understand. Redux doesn't have a Dispatcher or support many stores. Instead, there is just a single store with a single root reducing function. As your app grows, instead of adding stores, you split the root reducer into smaller reducers independently operating on the different parts of the state tree. This is exactly like how there is just one root component in a React app, but it is composed out of many small components. This architecture might seem like an overkill for a counter app, but the beauty of this pattern is how well it scales to large and complex apps. It also enables very powerful developer tools, because it is possible to trace every mutation to the action that caused it. You can record user sessions and reproduce them just by replaying every action.