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 — Revert #24236 (Don't recreate the same fallback on the client if hydrating suspends) by gaearon · Pull Request #24434 · react/react

Conversation

@gaearon

@gaearon gaearon commented Apr 25, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Collaborator

Reverts #24236. It seems to be the cause of a late mutations regression on WWW. We don't know why but we should revert to unblock the next syncs.

I commented out the new tests.

Sorry, something went wrong.

Uh oh!

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

All reactions
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Apr 25, 2022
@gaearon
gaearon requested review from acdlite and sebmarkbage April 25, 2022 14:36
gaearon
gaearon commented Apr 25, 2022
View reviewed changes
Comment thread packages/react-reconciler/src/ReactFiberLane.new.js
const UrgentLanes = SyncLane | InputContinuousLane | DefaultLane;
return (lanes & UrgentLanes) === NoLanes;
}
export function includesOnlyTransitions(lanes: Lanes) {

@gaearon gaearon Apr 25, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Collaborator 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.

I left the new includesOnlyNonUrgentLanes in the codebase because it's used by the deferred value logic too now. So this just adds the previous version of this function back.

Sorry, something went wrong.

Uh oh!

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

All reactions
@gaearon
Revert react#24236 (Don't recreate the same fallback on the client if…
02e1722
… hydrating suspends)
@gaearon
gaearon force-pushed the revert-24236 branch from ad6b422 to 02e1722 Compare April 25, 2022 14:37
@gaearon gaearon changed the title Revert "Don't recreate the same fallback on the client if hydrating suspends" Revert #24236 (Don't recreate the same fallback on the client if hydrating suspends) Apr 25, 2022
@acdlite

acdlite commented Apr 25, 2022

Copy link
Copy Markdown
Collaborator

I commented out the new tests.

You can use @gate FIXME to declare that they are expected to fail

All reactions

Sorry, something went wrong.

Uh oh!

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

@sizebot

sizebot commented Apr 25, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Comparing: 6d3b6d0...d7a9ef3

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 = 131.56 kB 131.56 kB = 42.12 kB 42.11 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 136.83 kB 136.83 kB = 43.69 kB 43.69 kB
facebook-www/ReactDOM-prod.classic.js = 441.18 kB 441.15 kB +0.02% 80.46 kB 80.48 kB
facebook-www/ReactDOM-prod.modern.js = 426.43 kB 426.40 kB = 78.28 kB 78.28 kB
facebook-www/ReactDOMForked-prod.classic.js = 441.18 kB 441.15 kB +0.02% 80.46 kB 80.48 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against d7a9ef3

All reactions

Sorry, something went wrong.

Uh oh!

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

rickhanlonii
rickhanlonii approved these changes Apr 25, 2022
View reviewed changes
@gaearon
gaearon force-pushed the revert-24236 branch from 0868c5f to 335ea9f Compare April 25, 2022 15:07
@gaearon
Use @gate FIXME
d7a9ef3
@gaearon
gaearon force-pushed the revert-24236 branch from 335ea9f to d7a9ef3 Compare April 25, 2022 15:09
@gaearon
gaearon merged commit bd4784c into react:main Apr 25, 2022
@gaearon gaearon mentioned this pull request Apr 25, 2022
Don't recreate the same fallback on the client if hydrating suspends #24236
Merged
facebook-github-bot pushed a commit to react/react-native that referenced this pull request Apr 26, 2022
@rickhanlonii @facebook-github-bot
React Native sync for revisions 60e63b9...bd4784c
1a3eaa5
Summary:
This sync includes the following changes:
- **[bd4784c](react/react@bd4784c8f )**: Revert #24236 (Don't recreate the same fallback on the client if hydrating suspends) ([#24434](react/react#24434)) //<dan>//
- **[6d3b6d0](react/react@6d3b6d0f4 )**: forwardRef et al shouldn't affect if props reused ([#24421](react/react#24421)) //<Andrew Clark>//
- **[bd08137](react/react@bd0813766 )**: Fix: useDeferredValue should reuse previous value ([#24413](react/react#24413)) //<Andrew Clark>//
- **[9ae80d6](react/react@9ae80d6a2 )**: Suppress hydration warnings when a preceding sibling suspends ([#24404](react/react#24404)) //<Josh Story>//
- **[0dc4e66](react/react@0dc4e6663 )**: Land enableClientRenderFallbackOnHydrationMismatch ([#24410](react/react#24410)) //<Andrew Clark>//
- **[3547729](react/react@354772952 )**: Land enableSelectiveHydration flag ([#24406](react/react#24406)) //<Andrew Clark>//
- **[392808a](react/react@392808a1f )**: Land enableClientRenderFallbackOnTextMismatch flag ([#24405](react/react#24405)) //<Andrew Clark>//
- **[1e748b4](react/react@1e748b452 )**: Land enableLazyElements flag ([#24407](react/react#24407)) //<Andrew Clark>//
- **[4175f05](react/react@4175f0593 )**: Temporarily feature flag numeric fallback for symbols ([#24401](react/react#24401)) //<Ricky>//
- **[a6d53f3](react/react@a6d53f346 )**: Revert "Clean up Selective Hydration / Event Replay flag ([#24156](react/react#24156))" ([#24402](react/react#24402)) //<Ricky>//
- **[ab9cdd3](react/react@ab9cdd34f )**: Bugfix: In legacy mode, call suspended tree's unmount effects when it is deleted ([#24400](react/react#24400)) //<Andrew Clark>//
- **[168da8d](react/react@168da8d55 )**: Fix typo that happened during rebasing //<Andrew Clark>//
- **[8bc527a](react/react@8bc527a4c )**: Bugfix: Fix race condition between interleaved and non-interleaved updates ([#24353](react/react#24353)) //<Andrew Clark>//
- **[f7cf077](react/react@f7cf077cc )**: [Transition Tracing] Add Offscreen Queue ([#24341](react/react#24341)) //<Luna Ruan>//
- **[4fc394b](react/react@4fc394bbe )**: Fix suspense fallback throttling ([#24253](react/react#24253)) //<sunderls>//
- **[80170a0](react/react@80170a068 )**: Match bundle.name and match upper case entry points ([#24346](react/react#24346)) //<Sebastian Markbåge>//
- **[fea6f8d](react/react@fea6f8da6 )**: [Transition Tracing] Add transition to OffscreenState and pendingSuspenseBoundaries to RootState ([#24340](react/react#24340)) //<Luna Ruan>//
- **[8e2f9b0](react/react@8e2f9b086 )**: move passive flag ([#24339](react/react#24339)) //<Luna Ruan>//
- **[55a21ef](react/react@55a21ef7e )**: fix pushTransition for transition tracing ([#24338](react/react#24338)) //<Luna Ruan>//
- **[069d23b](react/react@069d23bb7 )**:  [eslint-plugin-exhaustive-deps] Fix exhaustive deps check for unstable vars ([#24343](react/react#24343)) //<Afzal Sayed>//
- **[4997515](react/react@4997515b9 )**: Point useSubscription to useSyncExternalStore shim ([#24289](react/react#24289)) //<dan>//
- **[01e2bff](react/react@01e2bff1d )**: Remove unnecessary check ([#24332](react/react#24332)) //<zhoulixiang>//
- **[d9a0f9e](react/react@d9a0f9e20 )**: Delete create-subscription folder ([#24288](react/react#24288)) //<dan>//
- **[f993ffc](react/react@f993ffc51 )**: Fix infinite update loop that happens when an unmemoized value is passed to useDeferredValue ([#24247](react/react#24247)) //<Andrew Clark>//
- **[fa58002](react/react@fa5800226 )**: [Fizz] Pipeable Stream Perf ([#24291](react/react#24291)) //<Josh Story>//
- **[0568c0f](react/react@0568c0f8c )**: Replace zero with NoLanes for consistency in FiberLane ([#24327](react/react#24327)) //<Leo>//
- **[e0160d5](react/react@e0160d50c )**: add transition tracing transitions stack ([#24321](react/react#24321)) //<Luna Ruan>//
- **[b0f13e5](react/react@b0f13e5d3 )**: add pendingPassiveTransitions ([#24320](react/react#24320)) //<Luna Ruan>//

Changelog:
[General][Changed] - React Native sync for revisions 60e63b9...bd4784c

jest_e2e[run_all_tests]

Reviewed By: kacieb

Differential Revision: D35899012

fbshipit-source-id: 86a885e336fca9f0efa80cd2b8ca040f2cb53853
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
@gaearon
Revert react#24236 (Don't recreate the same fallback on the client if…
a717cc3
… hydrating suspends) (react#24434)

* Revert react#24236 (Don't recreate the same fallback on the client if hydrating suspends)

* Use @gate FIXME
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@gaearon
Revert react#24236 (Don't recreate the same fallback on the client if…
529500d
… hydrating suspends) (react#24434)

* Revert react#24236 (Don't recreate the same fallback on the client if hydrating suspends)

* Use @gate FIXME
@michaltarasiuk michaltarasiuk mentioned this pull request Sep 13, 2026
Bug: Suspense fallback remounts on hydration after use(browser()) + client use(promise) #37620
Open
@yqz314159265-cyber yqz314159265-cyber mentioned this pull request Sep 16, 2026
Hydrate recoverable Suspense fallbacks while browser data is pending #37641
Open
@Jr-kenny Jr-kenny mentioned this pull request Sep 18, 2026
Preserve SSR Suspense fallback when hydration re-suspends on client data #37654
Open
@woahwhattheheck woahwhattheheck mentioned this pull request Oct 2, 2026
Keep the server Suspense fallback when browser-only content suspends on the client #37729
Open
@SmallDevBigNothing SmallDevBigNothing mentioned this pull request Oct 18, 2026
Keep the server fallback mounted when hydration re-suspends #37893
Open
@whitewolfoklahoma-rgb whitewolfoklahoma-rgb mentioned this pull request Oct 21, 2026
Preserve SSR Suspense fallback when a browser-only boundary re-suspends on the client #37948
Open
@superportalmisha superportalmisha mentioned this pull request Oct 27, 2026
Hydrate browser-only Suspense fallbacks after client suspension #38008
Draft
@transmogrify-cell transmogrify-cell mentioned this pull request Nov 9, 2026
Keep the server fallback when a client-rendered boundary suspends during hydration #38174
Open
@brett0x0 brett0x0 mentioned this pull request Nov 12, 2026
Preserve painted Suspense fallback when hydration suspends #38234
Open
@ZyeL13 ZyeL13 mentioned this pull request Nov 25, 2026
Fix Suspense fallback remount on hydration when a transition changes only primary children #38385
Open
@budi92 budi92 mentioned this pull request Nov 28, 2026
[Flight][Fizz] Don't recreate the Suspense fallback if hydration suspends after a server error or browser() bailout #38417
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@acdlite acdlite Awaiting requested review from acdlite
@sebmarkbage sebmarkbage Awaiting requested review from sebmarkbage
1 more reviewer
@rickhanlonii rickhanlonii rickhanlonii 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.

5 participants

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