Laminar: Failed DOM insert still updates the child's parent in Laminar tracking

Fixed · medium · Wrong-result bug

insertChildBefore and insertChildAfter set the parent after the raw DOM insert, whatever its result. So a failed insert leaves the child recorded under a parent it is not in.

Found: ; reported: ; status since: . Reporter: Mike Murunov

Page for this report · Public report · Fix or proposed fix (see status)

Thanks, good find! 👍. … Turns out this regression was introduced in v16.0.0, specifically in … I'll push a fix shortly.

Open in the showcase. Record generated .