Skip to content

Commit ae9230e

Browse files
authored
React 19 (#20)
1 parent db3f627 commit ae9230e

File tree

4 files changed

+369
-340
lines changed

4 files changed

+369
-340
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
This is a base-stack for Forge 42 projects. This stack is a starting point for all Forge 42 stacks with more
1010
advanced features. This is an ESM Vite stack with Remix.run / React Router v7.
1111

12-
It includes a basic setup for a project with Remix.run and:
12+
It includes a basic setup for a project with react-router v7 framework mode and:
13+
- React 19 & react-compiler
1314
- TypeScript
1415
- TailwindCSS
1516
- Vite

package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"i18next-fetch-backend": "6.0.0",
3939
"isbot": "5.1.17",
4040
"pretty-cache-header": "1.0.0",
41-
"react": "18.3.1",
42-
"react-dom": "18.3.1",
41+
"react": "19.0.0",
42+
"react-dom": "19.0.0",
4343
"react-i18next": "15.1.1",
4444
"react-router": "7.0.1",
4545
"react-router-hono-server": "2.0.0",
@@ -49,18 +49,20 @@
4949
"zod": "3.23.8"
5050
},
5151
"devDependencies": {
52+
"@babel/preset-typescript": "7.26.0",
5253
"@biomejs/biome": "1.9.4",
5354
"@dotenvx/dotenvx": "1.24.5",
5455
"@react-router/dev": "7.0.1",
5556
"@react-router/fs-routes": "7.0.1",
5657
"@testing-library/react": "16.0.1",
5758
"@types/node": "22.9.1",
5859
"@types/prompt": "1.1.9",
59-
"@types/react": "18.3.12",
60-
"@types/react-dom": "18.3.1",
60+
"@types/react": "19.0.0",
61+
"@types/react-dom": "19.0.1",
6162
"@vitest/coverage-v8": "2.1.5",
6263
"@vitest/ui": "2.1.5",
6364
"autoprefixer": "10.4.20",
65+
"babel-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
6466
"chalk": "5.3.0",
6567
"happy-dom": "15.11.6",
6668
"jest-preview": "0.3.1",
@@ -74,6 +76,7 @@
7476
"tsx": "4.19.2",
7577
"typescript": "5.6.3",
7678
"vite": "5.4.11",
79+
"vite-plugin-babel": "1.3.0",
7780
"vite-plugin-icons-spritesheet": "2.2.1",
7881
"vite-tsconfig-paths": "5.1.3",
7982
"vitest": "2.1.5"

0 commit comments

Comments
 (0)