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

Function useId

packages/react/src/ReactHooks.js:183–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183export function useId(): string {
184 const dispatcher = resolveDispatcher();
185 return dispatcher.useId();
186}
187
188export function useSyncExternalStore<T>(
189 subscribe: (() => void) => () => void,

Callers 2

AccordionWindowItemFunction · 0.90
TabbedWindowFunction · 0.90

Calls 1

resolveDispatcherFunction · 0.70

Tested by

no test coverage detected