Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit 81b61c7

Browse files
committed
Merge pull request #227 from grifotv/patch-2
Fix typo, remove unnecessary `to` and `you`
2 parents 0da93f2 + 7cda5d3 commit 81b61c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Call this on the middleware returned from `syncHistory` to stop the syncing proc
140140

141141
#### `routeReducer`
142142

143-
A reducer function that keeps track of the router state. You must to add this reducer to your app reducers when creating the store. It will return a `location` property in state. If you use `combineReducers`, it will be nested under wherever you property you add it to (`state.routing` in the example above).
143+
A reducer function that keeps track of the router state. You must add this reducer to your app reducers when creating the store. It will return a `location` property in state. If you use `combineReducers`, it will be nested under wherever property you add it to (`state.routing` in the example above).
144144

145145
**Warning:** It is a bad pattern to use `react-redux`'s `connect` decorator to map the state from this reducer to props on your `Route` components. This can lead to infinite loops and performance problems. `react-router` already provides this for you via `this.props.location`.
146146

0 commit comments

Comments
 (0)