Skip to content

Commit

Permalink
[Flight] Dedupe suspense boundaries when it has already been found ea…
Browse files Browse the repository at this point in the history
…rlier (#27408)

If we track a postponed SuspenseBoundary parent that we have to replay
through before it has postponed and it postpones itself later, we need
to upgrade it to a postponed replay boundary instead of adding two.

DiffTrain build for commit 69728fd.
  • Loading branch information
sebmarkbage committed Sep 23, 2023
1 parent d2cd2f2 commit 7483213
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23985,7 +23985,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-canary-7f6201889-20230922";
var ReactVersion = "18.3.0-canary-69728fde0-20230923";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8620,7 +8620,7 @@ var devToolsConfig$jscomp$inline_1027 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-7f6201889-20230922",
version: "18.3.0-canary-69728fde0-20230923",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1226 = {
Expand Down Expand Up @@ -8651,7 +8651,7 @@ var internals$jscomp$inline_1226 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-7f6201889-20230922"
reconcilerVersion: "18.3.0-canary-69728fde0-20230923"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9046,7 +9046,7 @@ var devToolsConfig$jscomp$inline_1069 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-7f6201889-20230922",
version: "18.3.0-canary-69728fde0-20230923",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1267 = {
Expand Down Expand Up @@ -9077,7 +9077,7 @@ var internals$jscomp$inline_1267 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-7f6201889-20230922"
reconcilerVersion: "18.3.0-canary-69728fde0-20230923"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-canary-7f6201889-20230922";
var ReactVersion = "18.3.0-canary-69728fde0-20230923";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,4 +616,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-7f6201889-20230922";
exports.version = "18.3.0-canary-69728fde0-20230923";
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-7f6201889-20230922";
exports.version = "18.3.0-canary-69728fde0-20230923";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7f6201889e8e628eeb53e05d8850ddffa3c2e74a
69728fde0ab2822ba468d9aaaa0c856de3f8547d

0 comments on commit 7483213

Please sign in to comment.