Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 516d4ed

Browse files
committed
chore: revert temporarily commented lines
1 parent f0a8bfd commit 516d4ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/runtime-vapor/src/apiCreateComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function createComponent(
4141
setupComponent(instance)
4242

4343
// register sub-component with current component for lifecycle management
44-
// current.comps.add(instance)
44+
current.comps.add(instance)
4545

4646
return instance
4747
}

packages/runtime-vapor/src/componentLifecycle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ export function invokeLifecycle(
2525
}
2626

2727
function invokeSub() {
28-
// instance.comps.forEach(comp => invokeLifecycle(comp, lifecycle, cb, post))
28+
instance.comps.forEach(comp => invokeLifecycle(comp, lifecycle, cb, post))
2929
}
3030
}

0 commit comments

Comments
 (0)