Skip to content

Commit

Permalink
Merge pull request reactjs#10 from wbecker/patch-4
Browse files Browse the repository at this point in the history
One more typo
  • Loading branch information
happypoulp committed Aug 5, 2015
2 parents cdbedda + 8d01525 commit a910eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 05_get-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ console.log('store_0 state after initialization:', store_0.getState())
// "A reducer is just a function that receives the current state of your application, the action,
// and returns a new state modified (or reduced as they call it)"
// Our reducer is not returning anything right now so the state of our application is what
// reducer() return, hence "undefined".
// reducer() returns, hence "undefined".

// Let's try to send an initial state of our application if the state given to reducer is undefined:

Expand Down Expand Up @@ -97,4 +97,4 @@ console.log('redux state after initialization:', store_1.getState())
// Now that we're starting to handle actions in our reducer let's speak about having multiple reducers and
// combining them.

// Go to next tutorial: combine-reducers.js
// Go to next tutorial: combine-reducers.js

0 comments on commit a910eb3

Please sign in to comment.