mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove unnecessary flag check (#24284)
This commit is contained in:
@@ -1399,7 +1399,7 @@ function updateHostRoot(current, workInProgress, renderLanes) {
|
||||
} else {
|
||||
// The outermost shell has not hydrated yet. Start hydrating.
|
||||
enterHydrationState(workInProgress);
|
||||
if (enableUseMutableSource && supportsHydration) {
|
||||
if (enableUseMutableSource) {
|
||||
const mutableSourceEagerHydrationData =
|
||||
root.mutableSourceEagerHydrationData;
|
||||
if (mutableSourceEagerHydrationData != null) {
|
||||
|
||||
@@ -1399,7 +1399,7 @@ function updateHostRoot(current, workInProgress, renderLanes) {
|
||||
} else {
|
||||
// The outermost shell has not hydrated yet. Start hydrating.
|
||||
enterHydrationState(workInProgress);
|
||||
if (enableUseMutableSource && supportsHydration) {
|
||||
if (enableUseMutableSource) {
|
||||
const mutableSourceEagerHydrationData =
|
||||
root.mutableSourceEagerHydrationData;
|
||||
if (mutableSourceEagerHydrationData != null) {
|
||||
|
||||
Reference in New Issue
Block a user