MCPcopy
hub / github.com/vuejs/core / unmount

Function unmount

packages/runtime-core/src/components/Suspense.ts:780–798  ·  view source on GitHub ↗
(parentSuspense, doRemove)

Source from the content-addressed store, hash-verified

778 },
779
780 unmount(parentSuspense, doRemove) {
781 suspense.isUnmounted = true
782 if (suspense.activeBranch) {
783 unmount(
784 suspense.activeBranch,
785 parentComponent,
786 parentSuspense,
787 doRemove,
788 )
789 }
790 if (suspense.pendingBranch) {
791 unmount(
792 suspense.pendingBranch,
793 parentComponent,
794 parentSuspense,
795 doRemove,
796 )
797 }
798 },
799 }
800
801 return suspense

Callers 4

removeFunction · 0.70
patchSuspenseFunction · 0.70
resolveFunction · 0.70
fallbackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected