Skip to content

Commit 2944af9

Browse files
author
刘欢
committed
chore: Upgrade React to 18
1 parent 24c5ff3 commit 2944af9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
"@types/enzyme": "^3.10.8",
5757
"@types/jest": "^26.0.23",
5858
"@types/node": "^24.8.1",
59-
"@types/react": "^16.14.2",
60-
"@types/react-dom": "^16.9.10",
59+
"@types/react": "^18.0.0",
60+
"@types/react-dom": "^18.0.0",
6161
"@typescript-eslint/eslint-plugin": "^5.59.0",
6262
"@typescript-eslint/parser": "^5.59.0",
6363
"@umijs/fabric": "^3.0.0",
@@ -73,8 +73,8 @@
7373
"less": "^3.10.3",
7474
"prettier": "^2.0.5",
7575
"rc-test": "^7.0",
76-
"react": "^16.0.0",
77-
"react-dom": "^16.0.0",
76+
"react": "^18.0.0",
77+
"react-dom": "^18.0.0",
7878
"regenerator-runtime": "^0.13.7",
7979
"typescript": "~5.3.3"
8080
},

0 commit comments

Comments
 (0)