We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 312b462 commit a87d245Copy full SHA for a87d245
packages/react-reconciler/src/ReactFiberWorkLoop.js
@@ -1422,13 +1422,16 @@ function inferTimeFromExpirationTimeWithSuspenseConfig(
1422
);
1423
}
1424
1425
+// The work loop is an extremely hot path. Tell Closure not to inline it.
1426
+/** @noinline */
1427
function workLoopSync() {
1428
// Already timed out, so perform work without checking if we need to yield.
1429
while (workInProgress !== null) {
1430
workInProgress = performUnitOfWork(workInProgress);
1431
1432
1433
1434
1435
function workLoop() {
1436
// Perform work until Scheduler asks us to yield
1437
while (workInProgress !== null && !shouldYield()) {
0 commit comments