Skip to content

Commit

Permalink
Merge pull request #207 from Annatsu/patch-1
Browse files Browse the repository at this point in the history
Fix package requirement name and grammar typo
  • Loading branch information
supasate committed Dec 15, 2018
2 parents be5a04c + c212554 commit 68cf17a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -27,7 +27,7 @@ Main features

Installation
-----------
Connected React Router requires **React 16.4 and Redux 6.0 or later**.
Connected React Router requires **React 16.4 and React Redux 6.0 or later**.

Using [npm](https://www.npmjs.com/):

Expand All @@ -42,7 +42,7 @@ Usage
### Step 1

- Create a `history` object.
- Create root reducer as a function that takes `history` as an argument and returns reducer.
- Create a root reducer as a function that takes `history` as an argument and returns reducer.
- Add `router` reducer into root reducer by passing `history` to `connectRouter`. Note: The key **MUST** be `router`.
- Use `routerMiddleware(history)` if you want to dispatch history actions (e.g. to change URL with `push('/path/to/somewhere')`).

Expand Down

0 comments on commit 68cf17a

Please sign in to comment.