salesforce/lwc

[Hydration] Error hit during hydration mismatch: `Failed to execute 'removeChild' on 'Node'`

nolanlawson opened this issue · 1 comments

It's possible to get the following runtime error:

Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

This seems to occur if there is a hydration mismatch, and then later on during client-side rendering, the reactive property that caused the mismatch is mutated yet again (e.g. during renderedCallback).

Minimal repro: f24c9bd

This issue has been linked to a new work item: W-17110645