Skip to content

Commit f46adf6

Browse files
authored
feat: react 18 only (#925)
1 parent 7ca99b0 commit f46adf6

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@types/jest": "28.1.7",
2222
"@types/node": "17.0.31",
2323
"@types/prop-types": "15.7.5",
24-
"@types/react": "18.0.14",
24+
"@types/react": "18.0.17",
2525
"@types/react-dom": "18.0.6",
2626
"builtin-modules": "3.3.0",
2727
"cross-env": "7.0.3",

packages/use-dataloader/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"prop-types": "15.8.1"
2929
},
3030
"peerDependencies": {
31-
"react": "17.x || 18.x"
31+
"react": "18.x"
3232
}
3333
}

packages/use-gtm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
},
2828
"license": "MIT",
2929
"peerDependencies": {
30-
"react": "17.x || 18.x"
30+
"react": "18.x"
3131
}
3232
}

packages/use-i18n/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"peerDependencies": {
3838
"date-fns": "2.x",
39-
"react": "17.x || 18.x",
40-
"react-dom": "17.x || 18.x"
39+
"react": "18.x",
40+
"react-dom": "18.x"
4141
}
4242
}

packages/use-media/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
},
2727
"license": "MIT",
2828
"peerDependencies": {
29-
"react": "17.x || 18.x"
29+
"react": "18.x"
3030
}
3131
}

packages/use-query-params/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"query-string": "7.1.1"
3333
},
3434
"peerDependencies": {
35-
"react": "17.x || 18.x",
36-
"react-dom": "17.x || 18.x",
35+
"react": "18.x",
36+
"react-dom": "18.x",
3737
"react-router-dom": "^6.0.0"
3838
},
3939
"devDependencies": {

packages/use-segment/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"@segment/analytics-next": "1.42.3"
2929
},
3030
"peerDependencies": {
31-
"react": "17.x || 18.x"
31+
"react": "18.x"
3232
}
3333
}

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)