Skip to content

Commit 42cd120

Browse files
fix: downgrade React to v18 for better compatibility - Switch from React 19 (alpha) to React 18.2 (stable) - Update React type definitions to match
1 parent b13cb3b commit 42cd120

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
@@ -33,13 +33,13 @@
3333
"@fontsource/red-hat-display": "^5.1.1",
3434
"@nanostores/react": "^0.8.4",
3535
"@tailwindcss/vite": "^4.0.9",
36-
"@types/react": "^19.0.10",
37-
"@types/react-dom": "^19.0.4",
36+
"@types/react": "^18.2.55",
37+
"@types/react-dom": "^18.2.19",
3838
"astro": "^5.3.1",
3939
"framer-motion": "^12.4.7",
4040
"nanostores": "^0.11.4",
41-
"react": "^19.0.0",
42-
"react-dom": "^19.0.0",
41+
"react": "^18.2.0",
42+
"react-dom": "^18.2.0",
4343
"tailwindcss": "^4.0.9"
4444
},
4545
"devDependencies": {

0 commit comments

Comments
 (0)