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

Function commitSuspenseHydrationCallbacks

docs/index.js:11684–11698  ·  view source on GitHub ↗
(finishedRoot, finishedWork)

Source from the content-addressed store, hash-verified

11682 }
11683}
11684function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
11685 if (
11686 null === finishedWork.memoizedState &&
11687 ((finishedRoot = finishedWork.alternate),
11688 null !== finishedRoot &&
11689 ((finishedRoot = finishedRoot.memoizedState),
11690 null !== finishedRoot &&
11691 ((finishedRoot = finishedRoot.dehydrated), null !== finishedRoot)))
11692 )
11693 try {
11694 retryIfBlockedOn(finishedRoot);
11695 } catch (error) {
11696 captureCommitPhaseError(finishedWork, finishedWork.return, error);
11697 }
11698}
11699function getRetryCache(finishedWork) {
11700 switch (finishedWork.tag) {
11701 case 13:

Calls 3

retryIfBlockedOnFunction · 0.85
captureCommitPhaseErrorFunction · 0.85
runWithFiberInDEVFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…