-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
These flags are hard coded in our internal config #16883
Conversation
By hard coding them here they can get properly DCE and don't have to be sent to users. The internal config should only have dynamic flags.
4a6f793
to
afe1a5b
Compare
React: size: 0.0%, gzip: -0.0% ReactDOM: size: 0.0%, gzip: -0.0% Details of bundled changes.Comparing: 32e5c97...afe1a5b react-dom
scheduler
react
react-art
|
export const warnAboutDeprecatedLifecycles = true; | ||
export const warnAboutShorthandPropertyCollision = false; | ||
export const warnAboutDeprecatedSetNativeProps = false; | ||
export const disableLegacyContext = false; |
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.
We should make a GK for this one. I can do in a follow-up.
@@ -39,6 +30,16 @@ export const enableProfilerTimer = __PROFILE__; | |||
export const enableSchedulerTracing = __PROFILE__; | |||
export const enableSchedulerDebugging = true; | |||
|
|||
export const replayFailedUnitOfWorkWithInvokeGuardedCallback = false; | |||
export const warnAboutDeprecatedLifecycles = true; | |||
export const warnAboutShorthandPropertyCollision = false; |
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.
This one too.
By hard coding them here they can get properly DCE and don't have to be sent to users. The internal config should only have dynamic flags.