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
Check if updating to the latest Preact version resolves the issue
Describe the bug
@DAreRodz discovered in our experiments that Preact recreates the DOM nodes of a keyed list (instead of preserving them) if the component with the key has multiple DOM node children.
It's easier to see than to explain, so here is a video:
Screen.Capture.on.2022-10-14.at.14-53-08.mp4
I've used a text node ({''}) in the example because it's the simplest, but it happens with any node. For example: