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

Function useTransition

packages/react-reconciler/src/ReactFiberHooks.js:4119–4123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4117 return mountDeferredValue(value, initialValue);
4118 },
4119 useTransition(): [boolean, (() => void) => void] {
4120 currentHookNameInDev = 'useTransition';
4121 mountHookTypesDev();
4122 return mountTransition();
4123 },
4124 useSyncExternalStore<T>(
4125 subscribe: (() => void) => () => void,
4126 getSnapshot: () => T,

Callers 12

AppFunction · 0.50
AppFunction · 0.50
AppFunction · 0.50
AppFunction · 0.50
ActionAFunction · 0.50
ActionBFunction · 0.50
ActionCFunction · 0.50
UpdaterFunction · 0.50

Calls

no outgoing calls

Tested by 8

AppFunction · 0.40
AppFunction · 0.40
AppFunction · 0.40
AppFunction · 0.40
ActionAFunction · 0.40
ActionBFunction · 0.40
ActionCFunction · 0.40
UpdaterFunction · 0.40