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
If hydrating markup that contains html comments, a confused re-render happens. It should probably skip comment nodes, or ideally treat them as first class citizens.
To Reproduce
Render component to a string, add some html comments, try to hydrate.
Steps to reproduce the behavior:
Render a component to string.
Add some html comments.
Try to hydrate.
Expected behavior
Should hydrate component but it gets confused and causes duplicate nodes.
The text was updated successfully, but these errors were encountered:
Describe the bug
If hydrating markup that contains html comments, a confused re-render happens. It should probably skip comment nodes, or ideally treat them as first class citizens.
To Reproduce
Render component to a string, add some html comments, try to
hydrate
.Steps to reproduce the behavior:
hydrate
.Expected behavior
Should hydrate component but it gets confused and causes duplicate nodes.
The text was updated successfully, but these errors were encountered: