Skip to content

Commit 3ca45f1

Browse files
committed
feat: fix react version
1 parent 6b540b2 commit 3ca45f1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Custom React Hooks for image natural size.
1010

1111
>**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).
1212
>
13-
>Make sure that you have installed the correct version of `react(>= v16.7.0-alpha)` and `react-dom(>= v16.7.0-alpha)`.
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)`.
1414
1515
### npm
1616

package.json

+4-4
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.7.0-alpha.2",
71+
"react-dom": "16.7.0-alpha.2"
7272
},
7373
"peerDependencies": {
74-
"react": "^16.7.0-alpha.0",
75-
"react-dom": "^16.7.0-alpha.0"
74+
"react": "16.7.0-alpha.2",
75+
"react-dom": "16.7.0-alpha.2"
7676
}
7777
}

0 commit comments

Comments
 (0)