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
I am facing this issue too, there is no support for HMR if react component in written in js file instead of jsx. Not sure if this has to be part of documentation of vite because I think its specific to library like react
Documentation is
Explain in Detail
See vitejs/vite#14649
I am facing this issue too, there is no support for HMR if react component in written in js file instead of jsx. Not sure if this has to be part of documentation of vite because I think its specific to library like react
Your Suggestion for Changes
Just like here https://vite.dev/guide/troubleshooting.html#a-full-reload-happens-instead-of-hmr we have documentation for cyclic deps
Also there is a github issue linked for server.watch https://vite.dev/config/server-options.html#server-watch
Similarly there has to be documentation for this as well
Reproduction
https://github.com/rawasaditya/vite-hmr-reproduction/tree/main
Steps to reproduce
clone given project
npm i
npm run dev
change App.js to see browser reload
The text was updated successfully, but these errors were encountered: