-
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
Enable feature flags for v19 #28647
Enable feature flags for v19 #28647
Conversation
@@ -180,8 +181,8 @@ export const enableInfiniteRenderLoopDetection = true; | |||
|
|||
// Passes `ref` as a normal prop instead of stripping it from the props object | |||
// during element creation. | |||
export const enableRefAsProp = __NEXT_MAJOR__; | |||
export const disableStringRefs = __NEXT_MAJOR__; | |||
export const enableRefAsProp = true; |
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.
I'll wait to merge this until I fix that class components ref bug. Or we can flip this to false temporarily and land the rest if I take too long.
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.
Or we can keep it as __EXPERIMENTAL__
until it's fixed?
95923cc
to
99eef0c
Compare
packages/shared/ReactFeatureFlags.js
Outdated
@@ -210,7 +221,7 @@ export const enableRenderableContext = __NEXT_MAJOR__; | |||
// when we plan to enable them. | |||
// ----------------------------------------------------------------------------- | |||
|
|||
export const disableModulePatternComponents = __NEXT_MAJOR__; | |||
export const disableModulePatternComponents = true; |
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 is under chopping block?
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.
I have a PR to remove it entirely #27742
For the test failure, it looks like we didn't actually remove unmountComponentAtNode yet, you can either wait for this PR or just remove the test gates for now to unblock #28650 |
If you rebase on top of main the tests should pass |
99eef0c
to
3c556fe
Compare
The canary channel now represents v19, so we can turn these flags on.
3c556fe
to
891485c
Compare
The canary channel now represents v19, so we can turn these flags on.
The canary channel now represents v19, so we can turn these flags on.