Uh oh!
There was an error while loading. Please reload this page.
Better NEXT_MAJOR support for RN flags - #28583
Merged
Merged
Conversation
| export const enableBinaryFlight = __NEXT_RN_MAJOR__; // DOM-only | ||
| export const enableCustomElementPropertySupport = __NEXT_RN_MAJOR__; // DOM-only | ||
| export const enableServerComponentKeys = __NEXT_RN_MAJOR__; | ||
| export const enableServerComponentLogs = __NEXT_RN_MAJOR__; |
ContributorAuthor
There was a problem hiding this comment.
@yungsters@rubennorte some of these likely went out in 0.74 right?
Contributor
There was a problem hiding this comment.
I know that enableCustomElementPropertySupport was enabled after the branch cut for 0.74, but I'm not sure about the other three.
ContributorAuthor
There was a problem hiding this comment.
fwiw there are 10 others in case you only saw the main page snippet
Comparing: fa0efa1...7813b32 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
Uh oh!
There was an error while loading. Please reload this page.
rickhanloniiforce-pushed
the
rh/rn-next-major
branch
from
March 22, 2024 16:45
de45af0 to
3d8472eComparerickhanloniiforce-pushed
the
rh/rn-next-major
branch
from
March 22, 2024 16:49
3d8472e to
7813b32Comparegnoff added a commit
to gnoff/next.js
that referenced
this pull request
Mar 25, 2024
- react/react#28596 - react/react#28625 - react/react#28616 - react/react#28491 - react/react#28583 - react/react#28427 - react/react#28613 - react/react#28599 - react/react#28611 - react/react#28610 - react/react#28606 - react/react#28598 - react/react#28549 - react/react#28557 - react/react#28467 - react/react#28591 - react/react#28459 - react/react#28590 - react/react#28564 - react/react#28582 - react/react#28579 - react/react#28578 - react/react#28521 - react/react#28550 - react/react#28576 - react/react#28577 - react/react#28571 - react/react#28572 - react/react#28560 - react/react#28569 - react/react#28573 - react/react#28546 - react/react#28568 - react/react#28562 - react/react#28566 - react/react#28565 - react/react#28559 - react/react#28508 - react/react#20432 - react/react#28555 - react/react#24730 - react/react#28472 - react/react#27991 - react/react#28514 - react/react#28548 - react/react#28526 - react/react#28515 - react/react#28533 - react/react#28532 - react/react#28531 - react/react#28407 - react/react#28522 - react/react#28538 - react/react#28509 - react/react#28534 - react/react#28527 - react/react#28528 - react/react#28519 - react/react#28411 - react/react#28520 - react/react#28518 - react/react#28493 - react/react#28504 - react/react#28499 - react/react#28501 - react/react#28496 - react/react#28471 - react/react#28351 - react/react#28486 - react/react#28490 - react/react#28488 - react/react#28468 - react/react#28321 - react/react#28477 - react/react#28479 - react/react#28480 - react/react#28478 - react/react#28464 - react/react#28475 - react/react#28456 - react/react#28319 - react/react#28345 - react/react#28337 - react/react#28335 - react/react#28466 - react/react#28462 - react/react#28322 - react/react#28444 - react/react#28448 - react/react#28449 - react/react#28446 - react/react#28447 - react/react#24580
EdisonVan pushed a commit
to EdisonVan/react
that referenced
this pull request
Apr 15, 2024
The `__NEXT_MAJOR__` value in the RN flags doesn't make sense because: a) The flags are for the next RN major, since it only impacts the renderers b) The flags are off, so they're not currently in the next major, they need enabled c) the flag script didn't support it This PR adds two aliases to the RN file: - `__TODO_NEXT_RN_MAJOR__`: flags that need enabled before the next RN major. - `__NEXT_RN_MAJOR__`: flags that have been enabled since the last RN major. These values will need to be manually kept up to date when we cut a RN version, but once RN switches to the canary build and aligns all the flags, this entire file can be deleted. ## Script screen Notably, I added a TODO value and a legend that prints at the end of the script: <img width="1078" alt="Screenshot 2024-03-18 at 8 11 27 PM" src="https://github.com/facebook/react/assets/2440089/14da9066-f77d-437f-8188-830a31a843c5">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
__NEXT_MAJOR__value in the RN flags doesn't make sense because:a) The flags are for the next RN major, since it only impacts the renderers
b) The flags are off, so they're not currently in the next major, they need enabled
c) the flag script didn't support it
This PR adds two aliases to the RN file:
__TODO_NEXT_RN_MAJOR__: flags that need enabled before the next RN major.__NEXT_RN_MAJOR__: flags that have been enabled since the last RN major.These values will need to be manually kept up to date when we cut a RN version, but once RN switches to the canary build and aligns all the flags, this entire file can be deleted.
Script screen
Notably, I added a TODO value and a legend that prints at the end of the script: