Skip to content

Conversation

@cephalization
Copy link
Contributor

No description provided.

@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Oct 3, 2025
@cephalization cephalization force-pushed the cephalization/react-19 branch from 3ef4416 to 3a3bb56 Compare October 3, 2025 13:37
@cephalization cephalization force-pushed the cephalization/react-compiler branch 2 times, most recently from c06ee9f to d16f9f3 Compare October 3, 2025 14:32
@cephalization cephalization force-pushed the cephalization/react-19 branch from 0e8d802 to a8dc254 Compare October 3, 2025 14:43
@cephalization cephalization force-pushed the cephalization/react-compiler branch from d16f9f3 to d0eb886 Compare October 3, 2025 14:44
@cephalization cephalization force-pushed the cephalization/react-compiler branch 2 times, most recently from 649ffa1 to 591ad27 Compare October 7, 2025 01:01
@cephalization cephalization force-pushed the cephalization/react-19 branch from 3e51f6d to 8f866cf Compare October 7, 2025 01:29
@cephalization cephalization force-pushed the cephalization/react-compiler branch from b20cdc1 to b45e114 Compare October 7, 2025 01:30
@cephalization cephalization force-pushed the cephalization/react-19 branch from 1450f7d to 90f1a59 Compare October 8, 2025 12:55
@cephalization cephalization force-pushed the cephalization/react-compiler branch from b45e114 to cd74014 Compare October 8, 2025 12:55
@cephalization cephalization force-pushed the cephalization/react-19 branch 2 times, most recently from d900124 to 7963bb3 Compare October 13, 2025 12:51
Base automatically changed from cephalization/react-19 to main October 13, 2025 13:40
@cephalization cephalization force-pushed the cephalization/react-compiler branch from 3640510 to 3f57016 Compare October 28, 2025 13:21
@mikeldking mikeldking force-pushed the cephalization/react-compiler branch 2 times, most recently from 78dc470 to 11a83ab Compare November 11, 2025 16:28
@mikeldking mikeldking marked this pull request as ready for review November 11, 2025 19:00
@mikeldking mikeldking requested a review from a team as a code owner November 11, 2025 19:00
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Nov 11, 2025
@mikeldking mikeldking changed the title feat: Add react compiler feat: Add react compiler behind a config Nov 11, 2025
@mikeldking mikeldking force-pushed the cephalization/react-compiler branch from 778d9cb to c878c90 Compare November 11, 2025 19:14
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Nov 11, 2025
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"dev": "pnpm run dev:server & pnpm run build:static && pnpm run build:relay && vite",
"dev": "pnpm run dev:server & pnpm run dev:ui",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Inconsistent React Compiler behavior across environments.

The build script doesn't source .env, so PHOENIX_ENABLE_REACT_COMPILER won't be available to vite.config.mts. This means the React Compiler will always be disabled during production builds, creating inconsistent behavior between development and production environments.

Fix in Cursor Fix in Web

"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"dev": "pnpm run dev:server & pnpm run build:static && pnpm run build:relay && vite",
"dev": "pnpm run dev:server & pnpm run dev:ui",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Inconsistent React Compiler in Dev Modes

The dev:offline and dev:embeddings scripts don't source .env before running vite, so PHOENIX_ENABLE_REACT_COMPILER won't be available. This creates inconsistent behavior where the React Compiler configuration works in dev mode but not in these alternative development modes.

Fix in Cursor Fix in Web

@github-project-automation github-project-automation bot moved this from 📘 Todo to 👍 Approved in phoenix Nov 11, 2025
@mikeldking mikeldking merged commit 2f1de04 into main Nov 12, 2025
18 of 20 checks passed
@mikeldking mikeldking deleted the cephalization/react-compiler branch November 12, 2025 23:00
@github-project-automation github-project-automation bot moved this from 👍 Approved to ✅ Done in phoenix Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants