Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup more
Browse files Browse the repository at this point in the history
tyao1 committed Feb 24, 2023
1 parent db369d3 commit 2881d56
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -60,10 +60,13 @@ export function detachDeletedInstance(node: Instance): void {
}

export function detachDeletedContainer(node: Container): void {
delete (node: any)[internalInstanceKey];
delete (node: any)[internalPropsKey];
delete (node: any)[internalContainerInstanceKey];
delete (node: any)[internalEventHandlersKey];
delete (node: any)[internalEventHandlerListenersKey];
delete (node: any)[internalEventHandlesSetKey];
delete (node: any)[internalRootNodeResourcesKey];
}

export function precacheFiberNode(

0 comments on commit 2881d56

Please sign in to comment.