mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
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:
1 parent
a8964649bb
commit
1d3558965f
8 files changed
+8
-8
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user