-
Notifications
You must be signed in to change notification settings - Fork 316
Test & prep new Vite plugin-react #163
Copy link
Copy link
Closed
Description
See: vitejs/vite#5255
Which adjusts how Babel transforms JSX files from node_modules and adds the automatic JSX runtime.
I was able to add the new version by:
- Checking out the Vite PR
pnpm devinside the plugin-react packagecpover thedistcontents to Hydrogen'snode_modulesfor the plugin-react package
However, I'm seeing this error sometimes on the client when RSC tries to dynamically import client components:

I'm curious if this is the result of the plugin changes or something else?
Perhaps because we're importing the raw ID and not allowing Vite to detect our client component imports?
@frandiox do you have any thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.