GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Enable enableSuspenseLayoutEffectSemantics flag statically for Facebook by bvaughn · Pull Request #22050 · react/react

Conversation

@bvaughn

@bvaughn bvaughn commented Aug 9, 2021

Copy link
Copy Markdown
Contributor

This flag has been rolled out on Facebook at 10% public for ~3 weeks with no stat sig negative impact so let's enable it statically for Facebook builds.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Brian Vaughn
Enable enableSuspenseLayoutEffectSemantics flag statically for Facebook
605b335
@bvaughn
bvaughn requested a review from rickhanlonii August 9, 2021 18:13
@facebook-github-bot facebook-github-bot added React Core Team Opened by a member of the React Core Team CLA Signed labels Aug 9, 2021
@sizebot

sizebot commented Aug 9, 2021

Copy link
Copy Markdown

Comparing: 6493182...605b335

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 = 127.58 kB 127.58 kB = 40.72 kB 40.72 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 130.40 kB 130.40 kB = 41.65 kB 41.65 kB
facebook-www/ReactDOM-prod.classic.js = 406.44 kB 405.16 kB = 75.25 kB 75.04 kB
facebook-www/ReactDOM-prod.modern.js = 394.80 kB 393.72 kB = 73.52 kB 73.32 kB
facebook-www/ReactDOMForked-prod.classic.js = 406.44 kB 405.16 kB = 75.25 kB 75.05 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
facebook-www/JSXDEVRuntime-dev.classic.js = 42.05 kB 41.95 kB = 11.74 kB 11.72 kB
facebook-www/JSXDEVRuntime-dev.modern.js = 42.05 kB 41.95 kB = 11.74 kB 11.72 kB
facebook-www/ReactDOM-profiling.modern.js = 421.06 kB 419.97 kB = 78.07 kB 77.86 kB
facebook-www/ReactDOMForked-profiling.modern.js = 421.06 kB 419.97 kB = 78.07 kB 77.86 kB
facebook-www/ReactDOM-prod.modern.js = 394.80 kB 393.72 kB = 73.52 kB 73.32 kB
facebook-www/ReactDOMForked-prod.modern.js = 394.80 kB 393.72 kB = 73.52 kB 73.33 kB
facebook-www/ReactDOM-profiling.classic.js = 432.75 kB 431.46 kB = 79.77 kB 79.56 kB
facebook-www/ReactDOMForked-profiling.classic.js = 432.75 kB 431.46 kB = 79.77 kB 79.56 kB
facebook-www/ReactDOM-prod.classic.js = 406.44 kB 405.16 kB = 75.25 kB 75.04 kB
facebook-www/ReactDOMForked-prod.classic.js = 406.44 kB 405.16 kB = 75.25 kB 75.05 kB
facebook-www/ReactART-prod.modern.js = 255.48 kB 254.40 kB = 45.69 kB 45.54 kB
facebook-www/ReactART-prod.classic.js = 263.35 kB 262.07 kB = 46.97 kB 46.79 kB
facebook-www/ReactIs-dev.classic.js = 9.98 kB 9.88 kB = 2.66 kB 2.63 kB
facebook-www/ReactIs-dev.modern.js = 9.98 kB 9.88 kB = 2.66 kB 2.63 kB

Generated by 🚫 dangerJS against 605b335

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jstejada
jstejada approved these changes Aug 9, 2021
View reviewed changes
Comment thread packages/shared/forks/ReactFeatureFlags.www-dynamic.js
export const enableFilterEmptyStringAttributesDOM = __VARIANT__;
export const enableLegacyFBSupport = __VARIANT__;
export const skipUnmountedBoundaries = __VARIANT__;
export const enableSuspenseLayoutEffectSemantics = __VARIANT__;

@jstejada jstejada Aug 9, 2021

Copy link
Copy Markdown
Contributor

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.

just curious, what's the purpose of the __VARIANT__ value?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@bvaughn bvaughn Aug 9, 2021

Copy link
Copy Markdown
Contributor Author

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.

For dynamic flags, we use the __VARIANT__ setting to ensure that automated tests run with both values (enabled and disabled) so we don't accidentally break one.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jstejada reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@bvaughn
bvaughn merged commit ecd73e1 into react:main Aug 9, 2021
@bvaughn
bvaughn deleted the enableSuspenseLayoutEffectSemantics-static branch August 9, 2021 19:45
facebook-github-bot pushed a commit to react/react-native that referenced this pull request Aug 17, 2021
@rickhanlonii @facebook-github-bot
React Native sync for revisions 19092ac...5634ed1
aad9f35
Summary:
This sync includes the following changes:
- **[424fe58](react/react@424fe5870 )**: Revert "Show a soft error when a text string or number is supplied as a child to non text wrappers ([#21953](react/react#21953))" ([#22108](react/react#22108)) //<Sota>//
- **[aebf3b4](react/react@aebf3b456 )**: [Scheduler] Check for continuous input events ([#22107](react/react#22107)) //<Andrew Clark>//
- **[e9b2028](react/react@e9b2028b3 )**: Show a soft error when a text string or number is supplied as a child to non text wrappers ([#21953](react/react#21953)) //<Sota>//
- **[ecd73e1](react/react@ecd73e17b )**: Enable enableSuspenseLayoutEffectSemantics flag statically for Facebook ([#22050](react/react#22050)) //<Brian Vaughn>//
- **[a8725a3](react/react@a8725a3e6 )**: Scheduling profiler: Added lane labels and durations to React measures ([#22029](react/react#22029)) //<Brian Vaughn>//

Changelog:
[General][Changed] - React Native sync for revisions 19092ac...5634ed1

jest_e2e[run_all_tests]

Reviewed By: kacieb

Differential Revision: D30225923

fbshipit-source-id: 562895d3e0d264f40770dadb89d4a16241967c4c
zhengjitf pushed a commit to zhengjitf/react that referenced this pull request Apr 15, 2022
Brian Vaughn @zhengjitf
Enable enableSuspenseLayoutEffectSemantics flag statically for Facebo…
843fa4c
…ok (react#22050)
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
Brian Vaughn
Enable enableSuspenseLayoutEffectSemantics flag statically for Facebo…
c4ac01e
…ok (react#22050)
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
Brian Vaughn
Enable enableSuspenseLayoutEffectSemantics flag statically for Facebo…
abd2323
…ok (react#22050)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rickhanlonii rickhanlonii Awaiting requested review from rickhanlonii
1 more reviewer
@jstejada jstejada jstejada approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@bvaughn @sizebot @jstejada @facebook-github-bot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.