Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ constructor
Method
constructor
packages/react-aria/src/focus/FocusScope.tsx:1019–1022 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1017
private fastMap = new Map<ScopeRef, TreeNode>();
1018
1019
constructor() {
1020
this.root = new TreeNode({scopeRef: null});
1021
this.fastMap.set(null, this.root);
1022
}
1023
1024
get size(): number {
1025
return this.fastMap.size;
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected