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 6988663 commit accafb8Copy full SHA for accafb8
src/reconciler.js
@@ -47,7 +47,7 @@ function workLoop(deadline) {
47
if (!nextUnitOfWork) {
48
resetNextUnitOfWork();
49
}
50
- while (nextUnitOfWork) {
+ while (nextUnitOfWork && deadline.timeRemaining() > ENOUGH_TIME) {
51
nextUnitOfWork = performUnitOfWork(nextUnitOfWork);
52
53
if (pendingCommit) {
0 commit comments