MCPcopy
hub / github.com/facebook/react / useDeferredValue

Function useDeferredValue

packages/react-reconciler/src/ReactFiberHooks.js:4114–4118  ·  view source on GitHub ↗
(value: T, initialValue?: T)

Source from the content-addressed store, hash-verified

4112 return mountDebugValue(value, formatterFn);
4113 },
4114 useDeferredValue<T>(value: T, initialValue?: T): T {
4115 currentHookNameInDev = 'useDeferredValue';
4116 mountHookTypesDev();
4117 return mountDeferredValue(value, initialValue);
4118 },
4119 useTransition(): [boolean, (() => void) => void] {
4120 currentHookNameInDev = 'useTransition';
4121 mountHookTypesDev();

Callers 4

AppFunction · 0.50
AppFunction · 0.50

Calls

no outgoing calls

Tested by 2

AppFunction · 0.40
AppFunction · 0.40