Skip to content

Commit e2de2ad

Browse files
committed
[Fizz] Start initial work immediately (#31079)
In a recent update we make Flight start working immediately rather than waitin for a new task. This commit updates fizz to have similar mechanics. We start the render in the currently running task but we do so in a microtask to avoid reentrancy. This aligns Fizz with Flight. ref: #30961 DiffTrain build for [67fee58](67fee58)
1 parent b113f68 commit e2de2ad

34 files changed

+248
-242
lines changed

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,7 @@ __DEV__ &&
20002000
exports.useTransition = function () {
20012001
return resolveDispatcher().useTransition();
20022002
};
2003-
exports.version = "19.0.0-www-classic-76aee6f3-20240926";
2003+
exports.version = "19.0.0-www-classic-67fee58b-20240926";
20042004
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
20052005
"function" ===
20062006
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ __DEV__ &&
19801980
exports.useTransition = function () {
19811981
return resolveDispatcher().useTransition();
19821982
};
1983-
exports.version = "19.0.0-www-modern-76aee6f3-20240926";
1983+
exports.version = "19.0.0-www-modern-67fee58b-20240926";
19841984
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19851985
"function" ===
19861986
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
665665
exports.useTransition = function () {
666666
return ReactSharedInternals.H.useTransition();
667667
};
668-
exports.version = "19.0.0-www-classic-76aee6f3-20240926";
668+
exports.version = "19.0.0-www-classic-67fee58b-20240926";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
665665
exports.useTransition = function () {
666666
return ReactSharedInternals.H.useTransition();
667667
};
668-
exports.version = "19.0.0-www-modern-76aee6f3-20240926";
668+
exports.version = "19.0.0-www-modern-67fee58b-20240926";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
669669
exports.useTransition = function () {
670670
return ReactSharedInternals.H.useTransition();
671671
};
672-
exports.version = "19.0.0-www-classic-76aee6f3-20240926";
672+
exports.version = "19.0.0-www-classic-67fee58b-20240926";
673673
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
674674
"function" ===
675675
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
669669
exports.useTransition = function () {
670670
return ReactSharedInternals.H.useTransition();
671671
};
672-
exports.version = "19.0.0-www-modern-76aee6f3-20240926";
672+
exports.version = "19.0.0-www-modern-67fee58b-20240926";
673673
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
674674
"function" ===
675675
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17014,11 +17014,11 @@ __DEV__ &&
1701417014
(function () {
1701517015
var internals = {
1701617016
bundleType: 1,
17017-
version: "19.0.0-www-classic-76aee6f3-20240926",
17017+
version: "19.0.0-www-classic-67fee58b-20240926",
1701817018
rendererPackageName: "react-art",
1701917019
currentDispatcherRef: ReactSharedInternals,
1702017020
findFiberByHostInstance: getInstanceFromNode,
17021-
reconcilerVersion: "19.0.0-www-classic-76aee6f3-20240926"
17021+
reconcilerVersion: "19.0.0-www-classic-67fee58b-20240926"
1702217022
};
1702317023
internals.overrideHookState = overrideHookState;
1702417024
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17052,7 +17052,7 @@ __DEV__ &&
1705217052
exports.Shape = Shape;
1705317053
exports.Surface = Surface;
1705417054
exports.Text = Text;
17055-
exports.version = "19.0.0-www-classic-76aee6f3-20240926";
17055+
exports.version = "19.0.0-www-classic-67fee58b-20240926";
1705617056
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1705717057
"function" ===
1705817058
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16457,11 +16457,11 @@ __DEV__ &&
1645716457
(function () {
1645816458
var internals = {
1645916459
bundleType: 1,
16460-
version: "19.0.0-www-modern-76aee6f3-20240926",
16460+
version: "19.0.0-www-modern-67fee58b-20240926",
1646116461
rendererPackageName: "react-art",
1646216462
currentDispatcherRef: ReactSharedInternals,
1646316463
findFiberByHostInstance: getInstanceFromNode,
16464-
reconcilerVersion: "19.0.0-www-modern-76aee6f3-20240926"
16464+
reconcilerVersion: "19.0.0-www-modern-67fee58b-20240926"
1646516465
};
1646616466
internals.overrideHookState = overrideHookState;
1646716467
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16495,7 +16495,7 @@ __DEV__ &&
1649516495
exports.Shape = Shape;
1649616496
exports.Surface = Surface;
1649716497
exports.Text = Text;
16498-
exports.version = "19.0.0-www-modern-76aee6f3-20240926";
16498+
exports.version = "19.0.0-www-modern-67fee58b-20240926";
1649916499
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1650016500
"function" ===
1650116501
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-prod.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10826,13 +10826,13 @@ var slice = Array.prototype.slice,
1082610826
})(React.Component);
1082710827
var internals$jscomp$inline_1467 = {
1082810828
bundleType: 0,
10829-
version: "19.0.0-www-classic-76aee6f3-20240926",
10829+
version: "19.0.0-www-classic-67fee58b-20240926",
1083010830
rendererPackageName: "react-art",
1083110831
currentDispatcherRef: ReactSharedInternals,
1083210832
findFiberByHostInstance: function () {
1083310833
return null;
1083410834
},
10835-
reconcilerVersion: "19.0.0-www-classic-76aee6f3-20240926"
10835+
reconcilerVersion: "19.0.0-www-classic-67fee58b-20240926"
1083610836
};
1083710837
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1083810838
var hook$jscomp$inline_1468 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10858,4 +10858,4 @@ exports.RadialGradient = RadialGradient;
1085810858
exports.Shape = TYPES.SHAPE;
1085910859
exports.Surface = Surface;
1086010860
exports.Text = Text;
10861-
exports.version = "19.0.0-www-classic-76aee6f3-20240926";
10861+
exports.version = "19.0.0-www-classic-67fee58b-20240926";

compiled/facebook-www/ReactART-prod.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10337,13 +10337,13 @@ var slice = Array.prototype.slice,
1033710337
})(React.Component);
1033810338
var internals$jscomp$inline_1459 = {
1033910339
bundleType: 0,
10340-
version: "19.0.0-www-modern-76aee6f3-20240926",
10340+
version: "19.0.0-www-modern-67fee58b-20240926",
1034110341
rendererPackageName: "react-art",
1034210342
currentDispatcherRef: ReactSharedInternals,
1034310343
findFiberByHostInstance: function () {
1034410344
return null;
1034510345
},
10346-
reconcilerVersion: "19.0.0-www-modern-76aee6f3-20240926"
10346+
reconcilerVersion: "19.0.0-www-modern-67fee58b-20240926"
1034710347
};
1034810348
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1034910349
var hook$jscomp$inline_1460 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10369,4 +10369,4 @@ exports.RadialGradient = RadialGradient;
1036910369
exports.Shape = TYPES.SHAPE;
1037010370
exports.Surface = Surface;
1037110371
exports.Text = Text;
10372-
exports.version = "19.0.0-www-modern-76aee6f3-20240926";
10372+
exports.version = "19.0.0-www-modern-67fee58b-20240926";

0 commit comments

Comments
 (0)