MCPcopy Create free account
hub / github.com/adobe/react-spectrum / addNode

Method addNode

packages/react-aria/src/focus/FocusScope.tsx:1039–1041  ·  view source on GitHub ↗
(node: TreeNode)

Source from the content-addressed store, hash-verified

1037 }
1038
1039 addNode(node: TreeNode): void {
1040 this.fastMap.set(node.scopeRef, node);
1041 }
1042
1043 removeTreeNode(scopeRef: ScopeRef): void {
1044 // never remove the root

Callers 1

FocusScopeFunction · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected