Skip to content

Commit 6c056fa

Browse files
committed
feat: upgrade to stable react
1 parent f239058 commit 6c056fa

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ Custom React Hooks for video meta.
88

99
## Install
1010

11-
>**Note:** The Hooks isn't stable now, the stable version will be available on [Q1 of 2019](https://reactjs.org/blog/2018/11/27/react-16-roadmap.html).
12-
>
13-
>Make sure that you have installed the correct version of `react(v16.7.0-alpha.2)` and `react-dom(v16.7.0-alpha.2)`.
11+
>**Note:** Make sure that you have installed the correct version of `react(>= v16.8.0)` and `react-dom(>= v16.8.0)`.
1412
1513
### npm
1614

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@
6767
]
6868
},
6969
"dependencies": {
70-
"react": "16.7.0-alpha.2",
71-
"react-dom": "16.7.0-alpha.2"
70+
"react": "^16.8.1",
71+
"react-dom": "^16.8.1"
7272
},
7373
"peerDependencies": {
74-
"react": "16.7.0-alpha.2",
75-
"react-dom": "16.7.0-alpha.2"
74+
"react": "^16.8.1",
75+
"react-dom": "^16.8.1"
7676
}
7777
}

0 commit comments

Comments
 (0)