Skip to content

Commit 867bdac

Browse files
authored
fix(react): fix startup (and migrate to React 18) (#228)
1 parent a5e8e3b commit 867bdac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/template-blank-react/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/template-blank-react",
3-
"version": "8.5.0",
3+
"version": "8.5.1",
44
"description": "Blank template for NativeScript apps using React.",
55
"author": "Jamie Birch <[email protected]>",
66
"main": "src/app.ts",
@@ -40,14 +40,14 @@
4040
],
4141
"dependencies": {
4242
"@nativescript/core": "~8.5.0",
43-
"react": "^16.14.0",
44-
"react-nativescript": "^4.0.0",
45-
"react-nativescript-navigation": "^4.0.0"
43+
"react": "^18.2.0",
44+
"react-nativescript": "^5.0.0",
45+
"react-nativescript-navigation": "^5.0.0"
4646
},
4747
"devDependencies": {
4848
"@nativescript/types": "~8.5.0",
4949
"@nativescript/webpack": "~5.0.14",
50-
"@types/react": "npm:types-react-without-jsx-intrinsics@^16.14.30",
50+
"@types/react": "npm:types-react-without-jsx-intrinsics@^18.0.17",
5151
"typescript": "~4.8.4"
5252
},
5353
"gitHead": "1350d382fb4b0ed4c6e9685df909518b2688e004",

0 commit comments

Comments
 (0)