cheogram-www

created pr with cheogram-www/react-compiler-fix.1 on 2026-11-10T01:14:33Z · by 3c31bc8c
commented on 2026-11-10T01:14:33Z · by 3c31bc8c
Changes are available at https://tangled.org/mrry.band/cheogram-www on branch react-compiler-fix.
added cheogram-www/react-compiler-fix.2 on 2026-11-10T01:30:32Z · by 3c31bc8c
1: b99f593 ! 1: 9dc8627 Make sure we're using react compiler
2: c9c5d5b = 2: 05c3c29 Actually use the compiler
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-www:react-compiler-fix | git am -3
checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-www:react-compiler-fix [rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-www:react-compiler-fix
add comment to patch request:
ssh pr.pico.sh comment cheogram-www:react-compiler-fix "lgtm!"

Patchset cheogram-www/react-compiler-fix.1 on 2026-11-10T01:14:33Z · commit c9c5d5b

Actually use the compiler
Eric Roberts 2026-11-09T20:41:04Z
https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md#600-beta0-2026-03-03

This made our previous config stop working. They recommend switching to
reactCompilerPreset. But it turns out there's an "experimental" rust
port of react compiler. And what fun is life without rust and
experimental things.
Semantic diff summary
0 added, 1 modified, 0 signature changed, 0 removed across 1 analyzed file (1 file skipped: unsupported file type)
+1 -1 package.json #
......@@ -89,13 +89,13 @@
8989 "@tauri-apps/cli": "^2.12.3",
9090 "@testing-library/react": "16.3.0",
9191 "@vitejs/plugin-react": "^6.1.1",
92- "babel-plugin-react-compiler": "^1.0.0",
9392 "eslint": "^9.37.0",
9493 "eslint-plugin-react": "^7.37.5",
9594 "eslint-plugin-react-hooks": "^7.0.0",
9695 "globals": "^16.4.0",
9796 "jiti": "^2.6.1",
9897 "jsdom": "26.1.0",
98+ "oxc-transform-react": "^0.145.0",
9999 "oxfmt": "^0.65.0",
100100 "prettier": "3.3.3",
101101 "react-compiler-runtime": "^1.0.0",
+1 -5 vite.config.js #
......@@ -24,11 +24,7 @@ export default defineConfig(({ mode }) => {
2424 (await git.raw(["describe", "--always"])).trim(),
2525 },
2626 }),
27- react({
28- babel: {
29- plugins: [["babel-plugin-react-compiler", { target: "18" }]],
30- },
31- }),
27+ react({ compiler: { target: "18" } }),
3228 svgr(),
3329 !isTest && eslint({ failOnError: false }),
3430 VitePWA({
Back to top