Skip to content

Commit aec09c6

Browse files
committed
Update react to v18
1 parent bf5748c commit aec09c6

File tree

3 files changed

+181
-142
lines changed

3 files changed

+181
-142
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
"@testing-library/jest-dom": "^5.16.1",
7777
"@testing-library/react": "^12.1.2",
7878
"@testing-library/user-event": "^14.1.1",
79-
"@types/react": ">=17.0.21",
80-
"@types/react-dom": "^17.0.9",
79+
"@types/react": "^18.0.18",
80+
"@types/react-dom": "^18.0.6",
8181
"@typescript-eslint/eslint-plugin": "^4.31.1",
8282
"babel-eslint": "^10.1.0",
8383
"babel-jest": "^27.4.6",
@@ -107,8 +107,8 @@
107107
"node-sass": "^7.0.1",
108108
"prettier": "^2.5.1",
109109
"prop-types": "^15.8.1",
110-
"react": "^17.0.2",
111-
"react-dom": "^17.0.2",
110+
"react": "^18.2.0",
111+
"react-dom": "^18.2.0",
112112
"regenerator-runtime": "^0.13.9",
113113
"replace-in-file": "^6.3.2",
114114
"sass-loader": "^12.4.0",

packages/react-renderer-demo/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"@mui/material": "^5.2.8",
4141
"@mui/styles": "^5.2.3",
4242
"@mui/x-date-pickers": "^5.0.0-beta.0",
43-
"@next/bundle-analyzer": "^12.1.0",
44-
"@next/mdx": "^12.0.1",
43+
"@next/bundle-analyzer": "12.3.0",
44+
"@next/mdx": "12.3.0",
4545
"@rvsia/next-offline": "^5.0.5",
4646
"@stackblitz/sdk": "^1.5.3",
4747
"clsx": "^1.1.1",
@@ -51,13 +51,13 @@
5151
"firebase-admin": "^10.0.1",
5252
"firebase-functions": "^3.16.0",
5353
"markdown-to-jsx": "^7.1.6",
54-
"next": "12.1.0",
54+
"next": "12.3.0",
5555
"prism-react-renderer": "^1.2.1",
5656
"prop-types": "^15.8.1",
5757
"raw-loader": "^4.0.2",
58-
"react": "^17.0.2",
58+
"react": "18.2.0",
5959
"react-copy-to-clipboard": "^5.0.4",
60-
"react-dom": "^17.0.2",
60+
"react-dom": "18.2.0",
6161
"react-github-btn": "^1.2.2",
6262
"react-sticky-box": "^1.0.2",
6363
"webpack": "^5.66.0"

0 commit comments

Comments
 (0)