Skip to content

Commit 6a0ebf0

Browse files
committed
Update 04_simple-reducer.js
1 parent e30e1d8 commit 6a0ebf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

04_simple-reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// A word about reducer VS store:
77
// As you may have noticed, in the flux diagram shown in the introduction, we had "Store", not
88
// "Reducer" like Redux is expecting. So how exactly do Store and Reducer differ?
9-
// It's more simple than you could imagine: A Store keeps your data in him while a Reducer doesn't.
9+
// It's more simple than you could imagine: A Store keeps your data in it while a Reducer doesn't.
1010
// So in traditional flux, stores hold state in them while in Redux, each time a reducer is
1111
// called, it is passed the state that needs to be updated. This way, Redux's stores became
1212
// "stateless stores" and were renamed reducers.

0 commit comments

Comments
 (0)