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

Function TransitionAwareHostComponent

docs/index.js:7241–7252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7239 return children;
7240}
7241function TransitionAwareHostComponent() {
7242 var dispatcher = ReactSharedInternals.H,
7243 maybeThenable = dispatcher.useState()[0];
7244 maybeThenable =
7245 "function" === typeof maybeThenable.then
7246 ? useThenable(maybeThenable)
7247 : maybeThenable;
7248 dispatcher = dispatcher.useState()[0];
7249 (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher &&
7250 (currentlyRenderingFiber$1.flags |= 1024);
7251 return maybeThenable;
7252}
7253function checkDidRenderIdHook() {
7254 var didRenderIdHook = 0 !== localIdCounter;
7255 localIdCounter = 0;

Callers

nothing calls this directly

Calls 1

useThenableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…