Closed
Description
Describe the bug
Since next.179, when the SSR output starts with a comment (for example because the root block is an if-block, resulting in <!--[-->
as the first node in the SSR output), hydration fails. Does not happen in next.178
Reproduction
I've done some digging, and it seems that in next.178 the append
is called, which is no-op during hydration. In next.179, the child
function is called, which tries to append a node to the comment node.
Logs
No response
System Info
N/A
Severity
blocking an upgrade