We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd2aa12 commit b60cff0Copy full SHA for b60cff0
packages/runtime-core/src/hydration.ts
@@ -207,6 +207,15 @@ export function createHydrationFunctions(
207
? locateClosingAsyncAnchor(node)
208
: nextSibling(node)
209
210
+ // #4293 teleport as component root
211
+ if (
212
+ nextNode &&
213
+ isComment(nextNode) &&
214
+ nextNode.data === 'teleport end'
215
+ ) {
216
+ nextNode = nextSibling(nextNode)
217
+ }
218
+
219
// #3787
220
// if component is async, it may get moved / unmounted before its
221
// inner component is loaded, so we need to give it a placeholder
0 commit comments