MCPcopy Create free account
hub / github.com/TanStack/devtools / collectJsx

Function collectJsx

packages/devtools-vite/src/inject-source.ts:105–112  ·  view source on GitHub ↗

* Walk a subtree collecting JSXOpeningElements owned by the current function. * Function-like nodes are traversal boundaries so inner components keep their * own propsName context and aren't annotated with an outer function's props.

(node: Node, out: Array<JSXOpeningElement>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

processFunctionFunction · 0.85

Calls 2

forEachChildFunction · 0.90
isFunctionLikeFunction · 0.85

Tested by

no test coverage detected