From 593b870a839593f649dcaba3658bfbe7dbc8fe94 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 20 Sep 2021 19:16:46 +0200 Subject: [PATCH] Remove Fiber fields that were used for hydrating useMutableSource --- packages/react-reconciler/src/ReactFiberRoot.new.js | 4 ---- packages/react-reconciler/src/ReactFiberRoot.old.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/packages/react-reconciler/src/ReactFiberRoot.new.js b/packages/react-reconciler/src/ReactFiberRoot.new.js index d69d2d77e5dfa..10047b1ac13c7 100644 --- a/packages/react-reconciler/src/ReactFiberRoot.new.js +++ b/packages/react-reconciler/src/ReactFiberRoot.new.js @@ -59,10 +59,6 @@ function FiberRootNode(containerInfo, tag, hydrate) { this.pooledCacheLanes = NoLanes; } - if (supportsHydration) { - this.mutableSourceEagerHydrationData = null; - } - if (enableSuspenseCallback) { this.hydrationCallbacks = null; } diff --git a/packages/react-reconciler/src/ReactFiberRoot.old.js b/packages/react-reconciler/src/ReactFiberRoot.old.js index 8469d6c85b506..5e1768d932820 100644 --- a/packages/react-reconciler/src/ReactFiberRoot.old.js +++ b/packages/react-reconciler/src/ReactFiberRoot.old.js @@ -59,10 +59,6 @@ function FiberRootNode(containerInfo, tag, hydrate) { this.pooledCacheLanes = NoLanes; } - if (supportsHydration) { - this.mutableSourceEagerHydrationData = null; - } - if (enableSuspenseCallback) { this.hydrationCallbacks = null; }