Skip to content

Commit c320af0

Browse files
authored
Update site and examples to React 18 (#1326)
1 parent 6f7f738 commit c320af0

File tree

14 files changed

+313
-450
lines changed

14 files changed

+313
-450
lines changed

examples/next/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
},
1111
"dependencies": {
1212
"next": "12.3.4",
13-
"react": "^17.0.2",
14-
"react-dom": "^17.0.2"
13+
"react": "^18.2.0",
14+
"react-dom": "^18.2.0"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^17",
17+
"@types/react": "^18.2.55",
1818
"@vanilla-extract/css": "^1.6.3",
1919
"@vanilla-extract/next-plugin": "^2.0.0"
2020
},

examples/webpack-react/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@
3030
"html-webpack-plugin": "^5.3.1",
3131
"mini-css-extract-plugin": "^2.7.7",
3232
"polished": "^4.1.2",
33-
"react": "^17.0.2",
34-
"react-dom": "^17.0.2",
33+
"react": "^18.2.0",
34+
"react-dom": "^18.2.0",
3535
"tailwindcss": "^2.1.2",
3636
"webpack": "^5.90.0",
3737
"webpack-cli": "^5.1.4",
3838
"webpack-dev-server": "^4.15.1"
3939
},
4040
"devDependencies": {
41-
"@types/react": "^17",
42-
"@types/react-dom": "^17",
41+
"@types/react": "^18.2.55",
42+
"@types/react-dom": "^18.2.19",
4343
"@types/tailwindcss": "^2"
4444
}
4545
}

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@
6363
]
6464
},
6565
"packageManager": "[email protected]",
66-
"pnpm": {
67-
"patchedDependencies": {
68-
69-
}
70-
},
66+
"pnpm": {},
7167
"volta": {
7268
"node": "20.9.0"
7369
}

patches/[email protected]

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)