Skip to content

Commit d0116f8

Browse files
Fix
1 parent 07534da commit d0116f8

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.js

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,19 +1144,34 @@ function finishConcurrentRender(
11441144
// TODO: Combine retry throttling with Suspensey commits. Right now they
11451145
// run one after the other.
11461146
root.timeoutHandle = scheduleTimeout(
1147-
commitRootWhenReady.bind(null, root, finishedWork, lanes),
1147+
commitRootWhenReady.bind(
1148+
null,
1149+
root,
1150+
finishedWork,
1151+
workInProgressRootRecoverableErrors,
1152+
workInProgressTransitions,
1153+
lanes,
1154+
),
11481155
msUntilTimeout,
11491156
);
11501157
return;
11511158
}
11521159
}
1153-
commitRootWhenReady(root, finishedWork, lanes);
1160+
commitRootWhenReady(
1161+
root,
1162+
finishedWork,
1163+
workInProgressRootRecoverableErrors,
1164+
workInProgressTransitions,
1165+
lanes,
1166+
);
11541167
}
11551168
}
11561169

11571170
function commitRootWhenReady(
11581171
root: FiberRoot,
11591172
finishedWork: Fiber,
1173+
recoverableErrors: Array<CapturedValue<mixed>> | null,
1174+
transitions: Array<Transition> | null,
11601175
lanes: Lanes,
11611176
) {
11621177
// TODO: Combine retry throttling with Suspensey commits. Right now they run

0 commit comments

Comments
 (0)