Skip to content

Commit 7d59ef6

Browse files
committed
fix(hydration): add comment to clarify handling of forwarded slots in DynamicFragment
1 parent 2248ab7 commit 7d59ef6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-vapor/src/fragment.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ export class DynamicFragment extends VaporFragment {
315315
}
316316

317317
// otherwise, create an anchor.
318+
// forwarded slot, dynamic-component, async component, keyed fragment
318319
let parentNode: Node | null
319320
let nextNode: Node | null
320321
if (forwardedSlot) {

0 commit comments

Comments
 (0)