-
-
Notifications
You must be signed in to change notification settings - Fork 182
Closed as duplicate
Labels
bug: upstreamBug in a dependency of ViteBug in a dependency of Viteplugin: reactplugin: react-oxcplugin: react-swc
Description
Description:
In prior versions of react, saving a file will trigger the components useEffect hooks to run. This does not work for react 19.
Repo: https://github.com/gkiely/swc-issue
Steps to reproduce:
- npm i
- npm run dev
- open repo and press save in App.tsx
- console.log will not fire after pressing save
- npm i react@latest react-dom@latest
- npm run dev
- press save in App.tsx
- console.log will fire
Video reproduction:
https://www.loom.com/share/b493602e3f7244d2948c5bb871531881?sid=c9bdec15-5b87-4375-a659-6c63804cb032
ArnaudBarre, charliemr99, eric-net, huynhducduy and Jmenache
Metadata
Metadata
Assignees
Labels
bug: upstreamBug in a dependency of ViteBug in a dependency of Viteplugin: reactplugin: react-oxcplugin: react-swc