Skip to content

Commit 5073e61

Browse files
committed
fix(TransitionGroup): reset prevChildren in to prevent memory leak
1 parent 4f6ef92 commit 5073e61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/runtime-dom/src/components/TransitionGroup.ts

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ const TransitionGroupImpl: ComponentOptions = /*@__PURE__*/ decorate({
8181
moveClass,
8282
)
8383
) {
84+
prevChildren = []
8485
return
8586
}
8687

0 commit comments

Comments
 (0)