Skip to content

Commit

Permalink
Support React 18 (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
roderickhsiao committed Mar 30, 2022
1 parent 17bb7bb commit 063f58d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-in-viewport",
"version": "1.0.0-alpha.22",
"version": "1.0.0-alpha.23",
"description": "Track React component in viewport using Intersection Observer API",
"author": "Roderick Hsiao <roderickhsiao@gmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -71,8 +71,8 @@
"typescript": "^4.3.2"
},
"peerDependencies": {
"react": "^16.8.3 || ^17.0.0",
"react-dom": "^16.8.3 || ^17.0.0"
"react": "^16.8.3 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.3 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"hoist-non-react-statics": "^3.0.0"
Expand Down

0 comments on commit 063f58d

Please sign in to comment.