Skip to content
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

Clarify RTR native feature flags are fb specific #28679

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

jackpope
Copy link
Contributor

@jackpope jackpope commented Mar 29, 2024

Make it more clear that these flags aren't used in RN OSS.

  • Rename packages/shared/forks/ReactFeatureFlags.test-renderer.native.js to packages/shared/forks/ReactFeatureFlags.test-renderer.native-fb.js
  • Remove RN OSS build cases consuming the feature flags since there is no RN OSS RTR build.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Mar 29, 2024
@react-sizebot
Copy link

Comparing: 6cd6ba7...c6a7756

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 177.12 kB 177.12 kB = 55.06 kB 55.06 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 172.96 kB 172.96 kB = 53.92 kB 53.92 kB
facebook-www/ReactDOM-prod.classic.js = 592.70 kB 592.70 kB = 103.96 kB 103.96 kB
facebook-www/ReactDOM-prod.modern.js = 574.39 kB 574.39 kB = 100.99 kB 100.99 kB
test_utils/ReactAllWarnings.js Deleted 65.18 kB 0.00 kB Deleted 16.30 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
test_utils/ReactAllWarnings.js Deleted 65.18 kB 0.00 kB Deleted 16.30 kB 0.00 kB

Generated by 🚫 dangerJS against c6a7756

@kassens
Copy link
Member

kassens commented Mar 29, 2024

This does more then renaming the file. Could you clarify the summary for posterity?

@jackpope jackpope changed the title Rename native flags for RTR Clarify RTR native feature flags are fb specific Apr 1, 2024
@jackpope
Copy link
Contributor Author

jackpope commented Apr 1, 2024

@kassens Updated title and description

@jackpope jackpope merged commit 95e6f03 into facebook:main Apr 1, 2024
38 checks passed
@jackpope jackpope deleted the rename-rtr-rn-flags branch April 1, 2024 14:56
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
Make it more clear that these flags aren't used in RN OSS.
- Rename
`packages/shared/forks/ReactFeatureFlags.test-renderer.native.js` to
`packages/shared/forks/ReactFeatureFlags.test-renderer.native-fb.js`
- Remove RN OSS build cases consuming the feature flags since there is
no RN OSS RTR build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants