We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 862f1c7 commit 5500de5Copy full SHA for 5500de5
docs/introduction/reducers.md
@@ -45,7 +45,7 @@ end
45
sub-reducers where each sub-reducer is responsible for one portion of the
46
overall state.
47
]]
48
-local reducer = function(action, state)
+local reducer = function(state, action)
49
return {
50
myPhoneNumber = phoneNumberReducer(state.myPhoneNumber, action),
51
myFriends = friendsReducer(state.myFriends, action),
0 commit comments