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 — Flag for client render fallback behavior on hydration mismatch by salazarm · Pull Request #22787 · react/react

Conversation

@salazarm

@salazarm salazarm commented Nov 17, 2021

Copy link
Copy Markdown
Contributor

Summary

Putting this behavior behind a flag so that we can test surfaces with it on and fix hydration mismatches before turning the feature on more broadly.

How did you test this change?

jest

Sorry, something went wrong.

Uh oh!

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

All reactions
Marco Salazar
Add flag for new client-render fallback behavior on hydration mismatch
91e6ae2
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Nov 17, 2021
@sizebot

sizebot commented Nov 17, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Comparing: 4ff5f57...d592444

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 = 129.98 kB 129.98 kB = 41.56 kB 41.56 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 134.74 kB 134.74 kB = 42.96 kB 42.96 kB
facebook-www/ReactDOM-prod.classic.js +0.04% 424.31 kB 424.49 kB +0.05% 78.20 kB 78.24 kB
facebook-www/ReactDOM-prod.modern.js +0.04% 412.87 kB 413.04 kB +0.05% 76.47 kB 76.50 kB
facebook-www/ReactDOMForked-prod.classic.js +0.04% 424.31 kB 424.49 kB +0.05% 78.20 kB 78.24 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
facebook-www/ReactIs-dev.modern.js +1.20% 10.05 kB 10.17 kB +0.82% 2.68 kB 2.70 kB
facebook-www/ReactIs-dev.classic.js +1.20% 10.05 kB 10.17 kB +0.82% 2.68 kB 2.70 kB
facebook-www/JSXDEVRuntime-dev.modern.js +0.27% 45.60 kB 45.72 kB +0.19% 12.89 kB 12.92 kB
facebook-www/JSXDEVRuntime-dev.classic.js +0.27% 45.60 kB 45.73 kB +0.19% 12.89 kB 12.92 kB
facebook-www/ReactTestUtils-dev.modern.js +0.24% 51.41 kB 51.53 kB +0.16% 14.40 kB 14.42 kB
facebook-www/ReactTestUtils-dev.classic.js +0.24% 51.41 kB 51.54 kB +0.17% 14.40 kB 14.42 kB

Generated by 🚫 dangerJS against d592444

All reactions

Sorry, something went wrong.

Uh oh!

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

Marco Salazar added 3 commits November 17, 2021 16:20
Marco Salazar
gate test
a882130
Marco Salazar
gate tests too
3693f5f
Marco Salazar
fix test gating
d592444
gaearon
gaearon approved these changes Nov 17, 2021
View reviewed changes
@salazarm
salazarm merged commit fdc1d61 into react:main Nov 18, 2021
@salazarm
salazarm deleted the mismatchClientRenderingFlag branch November 18, 2021 13:16
facebook-github-bot pushed a commit to react/react-native that referenced this pull request Nov 29, 2021
Andrei Shikov @facebook-github-bot
React Native sync for revisions c0c71a8...c1220eb
a596e98
Summary:
This sync includes the following changes:
- **[c1220eb](react/react@c1220ebdd )**: treat empty string as null ([#22807](react/react#22807)) //<salazarm>//
- **[09d9b17](react/react@09d9b1775 )**: Update deprecated features in ESLint configuration files. ([#22767](react/react#22767)) //<Esteban>//
- **[bddbfb8](react/react@bddbfb86d )**: Revert "Fix Node package.json ./ exports deprecation warning ([#22783](react/react#22783))" ([#22792](react/react#22792)) //<Sebastian Silbermann>//
- **[b831aec](react/react@b831aec48 )**: chore(fast-refresh): double check wasMounted ([#22740](react/react#22740)) //<anc95>//
- **[8edeb78](react/react@8edeb787b )**: Fix Node package.json ./ exports deprecation warning ([#22783](react/react#22783)) //<Rin Arakaki>//
- **[fdc1d61](react/react@fdc1d617a )**: Flag for client render fallback behavior on hydration mismatch ([#22787](react/react#22787)) //<salazarm>//
- **[aa19d56](react/react@aa19d569b )**: Add test selectors to experimental build ([#22760](react/react#22760)) //<Brian Vaughn>//
- **[520ffc7](react/react@520ffc77a )**: Use globalThis if possible for native fetch in browser build ([#22777](react/react#22777)) //<Jiachi Liu>//
- **[afbc2d0](react/react@afbc2d08f )**: Remove unused react-internal/invariant-args ESLint rule. ([#22778](react/react#22778)) //<Esteban>//
- **[ca94e26](react/react@ca94e2680 )**: Remove 'packages/shared/invariant.js' ([#22779](react/react#22779)) //<Esteban>//
- **[8356471](react/react@83564712b )**: Move SuspenseList to experimental channel ([#22765](react/react#22765)) //<Andrew Clark>//
- **[d4144e6](react/react@d4144e6e5 )**: fix : grammatical typo for test description ([#22764](react/react#22764)) //<Brijesh Prasad>//
- **[0b32951](react/react@0b329511b )**: chore: fix comment typo ([#22657](react/react#22657)) //<Han Han>//
- **[e6f60d2](react/react@e6f60d2ad )**: fix typos ([#22715](react/react#22715)) //<180909>//

Changelog:
[General][Changed] - React Native sync for revisions c0c71a8...c1220eb

jest_e2e[run_all_tests]

Reviewed By: yungsters

Differential Revision: D32646433

fbshipit-source-id: c534ee7a17141634700c90fc2c7b34bfbe17887a
zhengjitf pushed a commit to zhengjitf/react that referenced this pull request Apr 15, 2022
@salazarm @zhengjitf
Flag for client render fallback behavior on hydration mismatch (react…
f89d2e4
…#22787)

* Add flag for new client-render fallback behavior on hydration mismatch

* gate test

* gate tests too

* fix test gating
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
@salazarm
Flag for client render fallback behavior on hydration mismatch (react…
5587999
…#22787)

* Add flag for new client-render fallback behavior on hydration mismatch

* gate test

* gate tests too

* fix test gating
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@salazarm
Flag for client render fallback behavior on hydration mismatch (react…
6f0766d
…#22787)

* Add flag for new client-render fallback behavior on hydration mismatch

* gate test

* gate tests too

* fix test gating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gaearon gaearon gaearon approved these changes

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

@salazarm @sizebot @gaearon @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.