Disable deferRenderPhaseUpdateToNextBatch by default (#21605)

We're still experimenting with this and it causes a breaking behavior
for setState in componentWillMount/componentWillReceiveProps atm.
This commit is contained in:
Sebastian Markbåge authored and GitHub committed 2021-06-02 11:28:06 -07:00
1 parent a8964649bb
commit 1d3558965f
8 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ export const enableLegacyFBSupport = false;
// not currently rendering. We treat them the same as if they came from an
// interleaved event. Remove this flag once we have migrated to the
// new behavior.
export const deferRenderPhaseUpdateToNextBatch = true;
export const deferRenderPhaseUpdateToNextBatch = false;
export const enableUseRefAccessWarning = false;
@@ -50,7 +50,7 @@ export const deletedTreeCleanUpLevel = 1;
export const enableSuspenseLayoutEffectSemantics = false;
export const enableNewReconciler = false;
export const deferRenderPhaseUpdateToNextBatch = true;
export const deferRenderPhaseUpdateToNextBatch = false;
export const enableStrictEffects = __DEV__;
export const createRootStrictEffectsByDefault = false;
@@ -49,7 +49,7 @@ export const deletedTreeCleanUpLevel = 1;
export const enableSuspenseLayoutEffectSemantics = false;
export const enableNewReconciler = false;
export const deferRenderPhaseUpdateToNextBatch = true;
export const deferRenderPhaseUpdateToNextBatch = false;
export const enableStrictEffects = false;
export const createRootStrictEffectsByDefault = false;
@@ -49,7 +49,7 @@ export const deletedTreeCleanUpLevel = 1;
export const enableSuspenseLayoutEffectSemantics = false;
export const enableNewReconciler = false;
export const deferRenderPhaseUpdateToNextBatch = true;
export const deferRenderPhaseUpdateToNextBatch = false;
export const enableStrictEffects = false;
export const createRootStrictEffectsByDefault = false;
@@ -49,7 +49,7 @@ export const deletedTreeCleanUpLevel = 1;
export const enableSuspenseLayoutEffectSemantics = false;
export const enableNewReconciler = false;
export const deferRenderPhaseUpdateToNextBatch = true;
export const deferRenderPhaseUpdateToNextBatch = false;
export const enableStrictEffects = false;
export const createRootStrictEffectsByDefault = false;
@@ -49,7 +49,7 @@ export const deletedTreeCleanUpLevel = 1;
export const enableSuspenseLayoutEffectSemantics = false;
export const enableNewReconciler = false;
export const deferRenderPhaseUpdateToNextBatch = true;
export const deferRenderPhaseUpdateToNextBatch = false;
export const enableStrictEffects = true;
export const createRootStrictEffectsByDefault = false;
@@ -49,7 +49,7 @@ export const deletedTreeCleanUpLevel = 1;
export const enableSuspenseLayoutEffectSemantics = false;
export const enableNewReconciler = false;
export const deferRenderPhaseUpdateToNextBatch = true;
export const deferRenderPhaseUpdateToNextBatch = false;
export const enableStrictEffects = false;
export const createRootStrictEffectsByDefault = false;
@@ -49,7 +49,7 @@ export const deletedTreeCleanUpLevel = 1;
export const enableSuspenseLayoutEffectSemantics = false;
export const enableNewReconciler = false;
export const deferRenderPhaseUpdateToNextBatch = true;
export const deferRenderPhaseUpdateToNextBatch = false;
export const enableStrictEffects = false;
export const createRootStrictEffectsByDefault = false;