Replies: 1 comment
-
Unfortunately, react-refresh was designed by the React team for Babel only. You could theoretically re-implement the Babel plugin outside of Babel, but that's out of scope for our project. One thing that you may be running into: We support normal HMR events even without the use of this plugin. But, In our current templates we import the Fix for this bug is in: #827 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m using Snowpack + React + htm (=no JSX and Babel necessary).
Is it possible to use @snowpack/plugin-react-refresh without Babel? In my case, the page is reloaded when there are changes, but the states of the components aren’t preserved.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions