fix: head text nodes rendered into body (#2015)

This commit is contained in:
Marvin Hagemeister
2023-11-06 11:45:33 +01:00
committed by GitHub
parent e0f503ee37
commit 33cc4c7866
4 changed files with 39 additions and 8 deletions
+1
View File
@@ -269,6 +269,7 @@ options.__b = (vnode: VNode<Record<string, unknown>>) => {
});
}
vnode.type = Fragment;
vnode.props = { children: null };
} else if (LOADING_ATTR in vnode.props) {
current.islandProps.push({
[LOADING_ATTR]: vnode.props[LOADING_ATTR],