MCPcopy Index your code
hub / github.com/react/react / Bar

Function Bar

packages/react-dom/src/__tests__/ReactDOMUseId-test.js:387–390  ·  view source on GitHub ↗
({children})

Source from the content-addressed store, hash-verified

385 }
386
387 function Bar({children}) {
388 const id = useId();
389 return <Baz id={id}>{children}</Baz>;
390 }
391
392 function Foo() {
393 return (

Callers

nothing calls this directly

Calls 1

useIdFunction · 0.50

Tested by

no test coverage detected