MCPcopy Index your code
hub / github.com/caseywebdev/react-list / mountRef

Function mountRef

docs/index.js:25394–25398  ·  view source on GitHub ↗
(initialValue)

Source from the content-addressed store, hash-verified

25392 return tag;
25393 }
25394 function mountRef(initialValue) {
25395 var hook = mountWorkInProgressHook();
25396 initialValue = { current: initialValue };
25397 return (hook.memoizedState = initialValue);
25398 }
25399 function mountEffectImpl(fiberFlags, hookFlags, create, deps) {
25400 var hook = mountWorkInProgressHook();
25401 currentlyRenderingFiber$1.flags |= fiberFlags;

Callers 1

index.jsFile · 0.85

Calls 1

mountWorkInProgressHookFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…