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

Function use

packages/react-reconciler/src/ReactFiberHooks.js:4690–4693  ·  view source on GitHub ↗
(usable: Usable<T>)

Source from the content-addressed store, hash-verified

4688 return readContext(context);
4689 },
4690 use<T>(usable: Usable<T>): T {
4691 warnInvalidHookAccess();
4692 return use(usable);
4693 },
4694 useCallback<T>(callback: T, deps: Array<mixed> | void | null): T {
4695 currentHookNameInDev = 'useCallback';
4696 warnInvalidHookAccess();

Callers 10

readTextFunction · 0.50
AppFunction · 0.50
AsyncFunction · 0.50
SyncFunction · 0.50
ExcitingTextFunction · 0.50
ReactUse-test.jsFile · 0.50
AppFunction · 0.50
AsyncClientComponentFunction · 0.50
AppFunction · 0.50
AFunction · 0.50

Calls

no outgoing calls

Tested by 9

readTextFunction · 0.40
AppFunction · 0.40
AsyncFunction · 0.40
SyncFunction · 0.40
ExcitingTextFunction · 0.40
AppFunction · 0.40
AsyncClientComponentFunction · 0.40
AppFunction · 0.40
AFunction · 0.40