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
Currently, the debugger and the devtools panel don't account for HMR.
I don't know how far the possible errors can go, but one noticeable behavior is that existing signals are duplicated — new signal objects are probably created during the refresh. And the reconciler doesn't allow for existing signals to be removed (I don't think it's possible).
One solution could be to just force update the whole graph on refresh and don't reconcile it — treat it as a fresh one. But how to know when the HMR happened?
Or try to reconcile new signal objects during waking the owner tree in the debugger. What the solid-refresh/vite does to the graph?
Edit: apparently this was caused by Solid not cleaning sourceMap property computation rerun. (fixed by solidjs/solid#1024)
The text was updated successfully, but these errors were encountered:
Currently, the debugger and the devtools panel don't account for HMR.
I don't know how far the possible errors can go, but one noticeable behavior is that existing signals are duplicated — new signal objects are probably created during the refresh. And the reconciler doesn't allow for existing signals to be removed (I don't think it's possible).
One solution could be to just force update the whole graph on refresh and don't reconcile it — treat it as a fresh one. But how to know when the HMR happened?
Or try to reconcile new signal objects during waking the owner tree in the debugger. What the solid-refresh/vite does to the graph?
Edit: apparently this was caused by Solid not cleaning
sourceMap
property computation rerun. (fixed by solidjs/solid#1024)The text was updated successfully, but these errors were encountered: