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 — Remove Fiber fields that were used for hydrating useMutableSource (#2… · react/react@cb6c619

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-reconciler/src
    • ReactFiberRoot.new.js
    • ReactFiberRoot.old.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-reconciler/src/ReactFiberRoot.new.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberRoot.new.js
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import type {FiberRoot, SuspenseHydrationCallbacks} from './ReactInternalTypes';
1111
import type {RootTag} from './ReactRootTags';
1212

13-
import {noTimeout, supportsHydration} from './ReactFiberHostConfig';
13+
import {noTimeout} from './ReactFiberHostConfig';
1414
import {createHostRootFiber} from './ReactFiber.new';
1515
import {
1616
NoLane,
@@ -59,10 +59,6 @@ function FiberRootNode(containerInfo, tag, hydrate) {
5959
this.pooledCacheLanes = NoLanes;
6060
}
6161

62-
if (supportsHydration) {
63-
this.mutableSourceEagerHydrationData = null;
64-
}
65-
6662
if (enableSuspenseCallback) {
6763
this.hydrationCallbacks = null;
6864
}
Collapse file

‎packages/react-reconciler/src/ReactFiberRoot.old.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberRoot.old.js
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import type {FiberRoot, SuspenseHydrationCallbacks} from './ReactInternalTypes';
1111
import type {RootTag} from './ReactRootTags';
1212

13-
import {noTimeout, supportsHydration} from './ReactFiberHostConfig';
13+
import {noTimeout} from './ReactFiberHostConfig';
1414
import {createHostRootFiber} from './ReactFiber.old';
1515
import {
1616
NoLane,
@@ -59,10 +59,6 @@ function FiberRootNode(containerInfo, tag, hydrate) {
5959
this.pooledCacheLanes = NoLanes;
6060
}
6161

62-
if (supportsHydration) {
63-
this.mutableSourceEagerHydrationData = null;
64-
}
65-
6662
if (enableSuspenseCallback) {
6763
this.hydrationCallbacks = null;
6864
}

0 commit comments

Comments
0 (0)
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.