Closed lukaszkrzywizna closed 1 year ago
Hi @lukaszkrzywizna,
yeah, that's the reason I stayed on v4 for Vite + fixed version of plugin-react
to 4.0.0
. But if this workaround works, then even better! 👏
Thanks!
Published as v4.1.0
. Thanks again!
Hi @Dzoukr,
I've updated
vite
to the latest version. There is one crucial thing to know: Since version4.0.2
@vitejs/plugin-react
doesn't runfast-refresh
correctly for.js
files. I've made an issue with the question if this is a bug. One of the workarounds is to setjsxRuntime
toclassic
.I hope this will be helpful.
Thanks for your amazing work! :)