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

Commit fddb411

Browse files
johakrquisido
authored andcommitted
Update react-router dep to ^5.0.0 (#8)
* Update react-router dep to ^5.0.0 * Update README.md
1 parent c578ff1 commit fddb411

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A non-pub-sub React Hook is anticipated to eventually be included in the `react-
2323

2424
## Install
2525

26-
**You must be using `react-router` and `react-router-dom` v4.4.0 or greater.**
26+
**You must be using `react-router` and `react-router-dom` v5.0.0 or greater.**
2727

2828
* `npm install use-react-router` or
2929
* `yarn add use-react-router`

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
"devDependencies": {
2525
"@types/react": "^16.4.18",
2626
"@types/react-router": "^4.0.32",
27-
"react": "^16.7.0-alpha.0",
28-
"react-router": "^4.4.0-beta.4",
27+
"react": "^16.7.0",
28+
"react-router": "^5.0.0",
2929
"typescript": "^3.1.3"
3030
},
3131
"peerDependencies": {
3232
"react": "^16.7.0",
33-
"react-router": "^4.4.0"
33+
"react-router": "^5.0.0"
3434
}
3535
}

0 commit comments

Comments
 (0)