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
This is a very weird case I believe, only the JS template has its HMR completely bugged. Compilation is correct for both babel-preset-solid and solid-refresh, the replacement module actually gets loaded (at least on Vite's client) however it seems that it doesn't send the replacement module to the module accept part (I have not tested this fully yet, but it might be the case). The bug is that even if the HMR update goes through, the component does not get replaced.
If anyone can reproduce this on other bundler setup, the issue might be on solid-refresh' side.
If this only happens on Vite, the issue might be either on Vite or the plugin.
The text was updated successfully, but these errors were encountered:
I have the same problem. The hot reloading, depending on what update to the code is made, may or may not break the page, so I end up needing to reload the entire page anyways.
This is a very weird case I believe, only the JS template has its HMR completely bugged. Compilation is correct for both babel-preset-solid and solid-refresh, the replacement module actually gets loaded (at least on Vite's client) however it seems that it doesn't send the replacement module to the module accept part (I have not tested this fully yet, but it might be the case). The bug is that even if the HMR update goes through, the component does not get replaced.
If anyone can reproduce this on other bundler setup, the issue might be on solid-refresh' side.
If this only happens on Vite, the issue might be either on Vite or the plugin.
The text was updated successfully, but these errors were encountered: