Skip to content

Commit 4928cf3

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

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@
5252
"@rc-component/father-plugin": "^2.0.0",
5353
"@rc-component/np": "^1.0.3",
5454
"@testing-library/jest-dom": "^5.16.4",
55-
"@testing-library/react": "^12.0.0",
55+
"@testing-library/react": "^14.0.0",
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)