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

Function pushPrimaryTreeSuspenseHandler

docs/index.js:6964–6972  ·  view source on GitHub ↗
(handler)

Source from the content-addressed store, hash-verified

6962var suspenseHandlerStackCursor = createCursor(null),
6963 shellBoundary = null;
6964function pushPrimaryTreeSuspenseHandler(handler) {
6965 var current = handler.alternate;
6966 push(suspenseStackCursor, suspenseStackCursor.current & 1);
6967 push(suspenseHandlerStackCursor, handler);
6968 null === shellBoundary &&
6969 (null === current || null !== currentTreeHiddenStackCursor.current
6970 ? (shellBoundary = handler)
6971 : null !== current.memoizedState && (shellBoundary = handler));
6972}
6973function pushOffscreenSuspenseHandler(fiber) {
6974 if (22 === fiber.tag) {
6975 if (

Callers 2

updateSuspenseComponentFunction · 0.85

Calls 1

pushFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…