Kepp calling peformWork consistent (#13596)
Heaven committed
Sep 18, 2018 at 22:48 UTC
dd91205617cfbc5ce664e0a5c4bd879ec93ddfe3
1 file changed
+1
-1
packages/react-reconciler/src/ReactFiberScheduler.js
+1
-1
@@ -2506,7 +2506,7 @@ function flushControlled(fn: () => mixed): void {
2506
} finally {
2507
isBatchingUpdates = previousIsBatchingUpdates;
2508
if (!isBatchingUpdates && !isRendering) {
2509
- performWork(Sync, null);
2509
+ performSyncWork();
2510
}
2511
}
2512
}