Skip to content

Add enableConditionalUseWarning React feature flag - #57783

Open
hoxyq wants to merge 1 commit into
react:mainfrom
hoxyq:export-D114407789
Open

Add enableConditionalUseWarning React feature flag#57783
hoxyq wants to merge 1 commit into
react:mainfrom
hoxyq:export-D114407789

Conversation

@hoxyq

@hoxyq hoxyq commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary:

Changelog: [Internal]

Adds the enableConditionalUseWarning dynamic React feature flag, which the React renderer reads from ReactNativeInternalFeatureFlags. The flag gates the new warning for conditional use of use() based on cache state: https://react.dev/warnings/conditional-use-of-use

This is a dev-only warning, I don't see any reasons to control this via gk.

Differential Revision: D114407789

Summary:
# Changelog: [Internal]

Adds the `enableConditionalUseWarning` dynamic React feature flag, which the React renderer reads from `ReactNativeInternalFeatureFlags`. The flag gates the new warning for conditional use of `use()` based on cache state: https://react.dev/warnings/conditional-use-of-use

This is a dev-only warning, I don't see any reasons to control this via gk.

Differential Revision: D114407789
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 31, 2026
@meta-codesync

meta-codesync Bot commented Jul 31, 2026

Copy link
Copy Markdown

@hoxyq has exported this pull request. If you are a Meta employee, you can view the originating Diff in D114407789.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant