-
Notifications
You must be signed in to change notification settings - Fork 47k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move flags to experimental #28151
Move flags to experimental #28151
Conversation
@@ -1057,70 +1057,69 @@ describe('ReactComponentLifeCycle', () => { | |||
}); | |||
}); | |||
|
|||
if (!require('shared/ReactFeatureFlags').disableModulePatternComponents) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests were implicitly depending on the fact that disableModulePatternComponents
and disableLegacyContext
always had the same value, so now we need to provide both.
@@ -799,8 +799,7 @@ describe('ReactErrorBoundaries', () => { | |||
expect(container.firstChild.textContent).toBe('Caught an error: Hello.'); | |||
}); | |||
|
|||
// @gate !disableModulePatternComponents | |||
// @gate !disableLegacyContext | |||
// @gate !(disableModulePatternComponents && disableLegacyContext) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be an or
not and
, and i deMorgan'd it to make it clearer
eca203a
to
5405fae
Compare
No description provided.