Skip to content

Commit

Permalink
Make enableClientRenderFallbackOnText dynamic (facebook#28436)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii authored and AndyPengc12 committed Apr 15, 2024
1 parent a76568e commit 8c170cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.www-dynamic.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const enableUseDeferredValueInitialArg = __VARIANT__;
export const enableRenderableContext = __VARIANT__;
export const useModernStrictMode = __VARIANT__;
export const enableRefAsProp = __VARIANT__;

export const enableClientRenderFallbackOnTextMismatch = __VARIANT__;
export const enableRetryLaneExpiration = __VARIANT__;
export const retryLaneExpirationMs = 5000;
export const syncLaneExpirationMs = 250;
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const {
enableRenderableContext,
useModernStrictMode,
enableRefAsProp,
enableClientRenderFallbackOnTextMismatch,
} = dynamicFeatureFlags;

// On WWW, __EXPERIMENTAL__ is used for a new modern build.
Expand All @@ -59,7 +60,6 @@ export const enableCPUSuspense = true;
export const enableFloat = true;
export const enableUseMemoCacheHook = true;
export const enableUseEffectEventHook = true;
export const enableClientRenderFallbackOnTextMismatch = false;
export const enableFilterEmptyStringAttributesDOM = true;
export const enableFormActions = true;
export const enableAsyncActions = true;
Expand Down

0 comments on commit 8c170cb

Please sign in to comment.