Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ getChildren
Function
getChildren
packages/react-stately/test/data/useTreeData.test.js:29–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
28
let
getKey = item => item.name;
29
let
getChildren = item => item.children;
30
31
describe(
'useTreeData'
,
function
() {
32
it(
'should construct a tree using initial data'
,
function
() {
Callers
2
buildTree
Function · 0.85
update
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected