react-compiler-runtime with vite #30
-
Hi all 👋 . I just saw the beta announcement and am super excited about it. I want to try the new compiler runtime since we are on React 18.2. I'm running into issues when starting the vite dev server. I verified that react-compiler-runtime is installed as a direct dependency
Here's my vite config:
Can someone please help me understand what I might be missing? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Ran into the same issue with the official demo: https://github.com/facebook/react/blob/main/compiler/fixtures/runtime-compat/app-18 |
Beta Was this translation helpful? Give feedback.
Yeah the demo app was originally broken which is why I opened a PR upstream to fix. It should've been released in 4.3.3, could you try checking what version you're on?