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

Function use

docs/index.js:7350–7356  ·  view source on GitHub ↗
(usable)

Source from the content-addressed store, hash-verified

7348 return thenable;
7349}
7350function use(usable) {
7351 if (null !== usable && "object" === typeof usable) {
7352 if ("function" === typeof usable.then) return useThenable(usable);
7353 if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable);
7354 }
7355 throw Error(formatProdErrorMessage(438, String(usable)));
7356}
7357function useMemoCache(size) {
7358 var memoCache = null,
7359 updateQueue = currentlyRenderingFiber$1.updateQueue;

Callers 1

index.jsFile · 0.85

Calls 3

useThenableFunction · 0.85
readContextFunction · 0.85
formatProdErrorMessageFunction · 0.85

Tested by

no test coverage detected