Skip to content

Commit

Permalink
text stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dlebedynskyi authored Mar 22, 2017
1 parent c9fd7ec commit 85ca1d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ This may not be ideal for some scenarios and should be used with caution. Main r
###Caveats using async reducers###
### Caveats using async reducers
- **SSR.** we don't won't to loose initialState that was sent from server. Redux currently is checking that once we create store on client and will remove all state that does not have reducers yet. _And we don't have it since we have not loaded our components yet_. To fix that we use `dummyReducer` function that will be later replaced with real one.
- **SSR.** we don't want to loose initialState that was sent from server. Redux currently is checking that once we create store on client and will remove all state that does not have reducers yet. _And we don't have it since we have not loaded our components yet_. To fix that we use `dummyReducer` function that will be later replaced with real one.
```
const initialReducers = createAsyncReducers({}, Object.keys(initialState));
Expand All @@ -228,4 +228,4 @@ const initialReducers = createAsyncReducers({}, Object.keys(initialState));
- All shared reducers should be registered outside of code split. See `core` folder and stuff.

0 comments on commit 85ca1d9

Please sign in to comment.