Skip to content

Commit

Permalink
Disable legacy mode in Modern www builds
Browse files Browse the repository at this point in the history
These already don't expose the entry points to create legacy roots.
  • Loading branch information
sebmarkbage committed Apr 3, 2024
1 parent d4f7d8c commit 2f4b580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const useModernStrictMode = true;
// because JSX is an extremely hot path.
export const disableStringRefs = false;

export const disableLegacyMode = false;
export const disableLegacyMode = __EXPERIMENTAL__;

export const disableDOMTestUtils = false;

Expand Down

0 comments on commit 2f4b580

Please sign in to comment.