-
-
Notifications
You must be signed in to change notification settings - Fork 203
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Documentation is
- Missing
- Outdated
- Confusing
- Not sure?
Explain in Detail
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
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation