solidjs / solid-refresh

MIT License
86 stars 18 forks source link

Bug: adding/removing JSX between HMR #55

Closed lxsmnsyc closed 9 months ago

lxsmnsyc commented 9 months ago

Repro is a component that returns an element with two or more children. In between saves, comment out one of the children, which may lead to the following behavior:

This issue only exists in 0.7.0

Parcel:

[!NOTE] This works correctly

Vite: