Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/react/react
/ Child
Function
Child
packages/react-dom/src/__tests__/ReactDOMUseId-test.js:297–300 ·
view source on GitHub ↗
({children})
Source
from the content-addressed store, hash-verified
295
// of any size.
296
297
function
Child({children}) {
298
const
id = useId();
299
return
<div id={id}>{children}</div>;
300
}
301
302
function
App() {
303
let
tree = <Child />;
Callers
nothing calls this directly
Calls
1
useId
Function · 0.50
Tested by
no test coverage detected