[Fizz] Pass task.childIndex in retryReplayTask (#27594)

This was missed that we track the child index on the task. The
equivalent in retryRenderTask already has this.

The effect is that a lazy node that suspends gets its child index reset
to -1 even though it should resume in the index it left off.

DiffTrain build for commit https://github.com/facebook/react/commit/8c8ee9ee618eace9199b7c80f4cd2d6f20ecfb73.
This commit is contained in:
acdlite
2023-10-26 06:25:12 +00:00
parent 072447aa92
commit 55c4cd6a71
7 changed files with 9 additions and 9 deletions
@@ -24887,7 +24887,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-canary-97047a810-20231025";
var ReactVersion = "18.3.0-canary-8c8ee9ee6-20231026";
// Might add PROFILE later.
@@ -9025,7 +9025,7 @@ var devToolsConfig$jscomp$inline_1032 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-97047a810-20231025",
version: "18.3.0-canary-8c8ee9ee6-20231026",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1225 = {
@@ -9056,7 +9056,7 @@ var internals$jscomp$inline_1225 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-97047a810-20231025"
reconcilerVersion: "18.3.0-canary-8c8ee9ee6-20231026"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1226 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9451,7 +9451,7 @@ var devToolsConfig$jscomp$inline_1074 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-97047a810-20231025",
version: "18.3.0-canary-8c8ee9ee6-20231026",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1266 = {
@@ -9482,7 +9482,7 @@ var internals$jscomp$inline_1266 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-97047a810-20231025"
reconcilerVersion: "18.3.0-canary-8c8ee9ee6-20231026"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1267 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -27,7 +27,7 @@ if (
}
"use strict";
var ReactVersion = "18.3.0-canary-97047a810-20231025";
var ReactVersion = "18.3.0-canary-8c8ee9ee6-20231026";
// ATTENTION
// When adding new symbols to this file,
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-97047a810-20231025";
exports.version = "18.3.0-canary-8c8ee9ee6-20231026";
@@ -583,7 +583,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-97047a810-20231025";
exports.version = "18.3.0-canary-8c8ee9ee6-20231026";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -1 +1 @@
97047a810cb19e3041a3ec163f4fde85f495bdc1
8c8ee9ee618eace9199b7c80f4cd2d6f20ecfb73