elm / virtual-dom

The foundation of HTML and SVG in Elm.
https://package.elm-lang.org/packages/elm/virtual-dom/latest
BSD 3-Clause "New" or "Revised" License
209 stars 80 forks source link

Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'. #186

Open dz0ny opened 12 months ago

dz0ny commented 12 months ago
image

The gist here is that OP assumes length (var i and v) from the internal state (which can be corrupted) as there are no mux locks and realized state in dom.

dz0ny commented 11 months ago

Kinda sounds like https://github.com/elm/virtual-dom/issues/160. I think there is a race condition when nodes are being simultaneously added and removed, as in my case this does not happen if I add some delay during ops.