You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In prior versions of react, saving a file will trigger the components useEffect hooks to run. This does not work for react 19.
This applies to both @vitejs/plugin-react-swc and @vitejs/plugin-react
Can reproduce with the provided repro and also [email protected]. I also double checked by using breakpoints to ensure it's not just console.log being incorrectly silenced.
In prior versions of react, saving a file will trigger the components useEffect hooks to run. This does not work for react 19.
This applies to both @vitejs/plugin-react-swc and @vitejs/plugin-react
Repo: https://github.com/gkiely/swc-issue
Steps to reproduce:
Video reproduction:
https://www.loom.com/share/b493602e3f7244d2948c5bb871531881?sid=c9bdec15-5b87-4375-a659-6c63804cb032
Notes:
I previously opened a ticket here but it is perhaps an issue with react 19: vitejs/vite-plugin-react#335
The text was updated successfully, but these errors were encountered: