Skip to content

Commit

Permalink
Address part of the confusions highlighted in #230 (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
AJamesPhillips authored and supasate committed Apr 1, 2019
1 parent d6502d3 commit a8e92e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function configureStore(preloadedState) {

### Step 3

- Wrap your react-router v4 routing with `ConnectedRouter` and pass the `history` object as a prop.
- Wrap your react-router v4 routing with `ConnectedRouter` and pass the `history` object as a prop. Remember to delete any usage of `BrowserRouter` or `NativeRouter` as leaving this in will [cause](https://github.com/supasate/connected-react-router/issues/230#issuecomment-461628073) [problems](https://github.com/supasate/connected-react-router/issues/230#issuecomment-476164384) synchronising the state.
- Place `ConnectedRouter` as a child of `react-redux`'s `Provider`.

```js
Expand Down

0 comments on commit a8e92e6

Please sign in to comment.