MCPcopy Create free account
hub / github.com/caseywebdev/react-list / findNotableNode

Function findNotableNode

docs/index.js:20487–20495  ·  view source on GitHub ↗
(node, indent)

Source from the content-addressed store, hash-verified

20485 (element.value = children);
20486 }
20487 function findNotableNode(node, indent) {
20488 return void 0 === node.serverProps &&
20489 0 === node.serverTail.length &&
20490 1 === node.children.length &&
20491 3 < node.distanceFromLeaf &&
20492 node.distanceFromLeaf > 15 - indent
20493 ? findNotableNode(node.children[0], indent)
20494 : node;
20495 }
20496 function indentation(indent) {
20497 return " " + " ".repeat(indent);
20498 }

Callers 1

describeNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…