From c212554479a3f711e3bac71a5347aa4ba443a4be Mon Sep 17 00:00:00 2001 From: Brendon Pagano Date: Fri, 14 Dec 2018 04:58:06 -0200 Subject: [PATCH] Fix package requirement name and grammar typo Since Redux is only on version 4, i presume that the requirement for the 6th version of this package must be `react-redux` :) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 369c5201..9320efc6 100644 --- a/README.md +++ b/README.md @@ -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/): @@ -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')`).