Skip to content

Commit 7c79b2d

Browse files
committed
rename SuspenseList export to unstable_SuspenseList (#27061)
## Summary as we began [discussing yesterday](#27056 (comment)), `SuspenseList` is not actually stable yet, and should likely be exported with the `unstable_` prefix. the conversation yesterday began discussing this in the context of the fb-specific packages, but changing it there without updating everywhere else leads to test failures, so here the change is made across packages. ## How did you test this change? ``` yarn flow dom-browser yarn test ``` DiffTrain build for [eb2c2f7](eb2c2f7)
1 parent 446d798 commit 7c79b2d

10 files changed

+13
-19
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e91142dd69b0454e0d4e934c55dd541344fe32ca
1+
eb2c2f7c2cf2652a168c2b433d2989131c69754b

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-classic-739b12ac";
30+
var ReactVersion = "18.3.0-www-classic-04878b24";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,
@@ -4150,7 +4150,6 @@ exports.Profiler = REACT_PROFILER_TYPE;
41504150
exports.PureComponent = PureComponent;
41514151
exports.StrictMode = REACT_STRICT_MODE_TYPE;
41524152
exports.Suspense = REACT_SUSPENSE_TYPE;
4153-
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
41544153
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
41554154
ReactSharedInternals;
41564155
exports.cache = cache;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-modern-d09ac638";
30+
var ReactVersion = "18.3.0-www-modern-4c77dfb7";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,
@@ -4115,7 +4115,6 @@ exports.Profiler = REACT_PROFILER_TYPE;
41154115
exports.PureComponent = PureComponent;
41164116
exports.StrictMode = REACT_STRICT_MODE_TYPE;
41174117
exports.Suspense = REACT_SUSPENSE_TYPE;
4118-
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
41194118
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
41204119
ReactSharedInternals;
41214120
exports.cache = cache;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ exports.Profiler = REACT_PROFILER_TYPE;
357357
exports.PureComponent = PureComponent;
358358
exports.StrictMode = REACT_STRICT_MODE_TYPE;
359359
exports.Suspense = REACT_SUSPENSE_TYPE;
360-
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
361360
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
362361
ReactSharedInternals;
363362
exports.cache = function (fn) {
@@ -624,4 +623,4 @@ exports.useSyncExternalStore = function (
624623
exports.useTransition = function () {
625624
return ReactCurrentDispatcher.current.useTransition();
626625
};
627-
exports.version = "18.3.0-www-classic-80690551";
626+
exports.version = "18.3.0-www-classic-6a82fa33";

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ exports.Profiler = REACT_PROFILER_TYPE;
324324
exports.PureComponent = PureComponent;
325325
exports.StrictMode = REACT_STRICT_MODE_TYPE;
326326
exports.Suspense = REACT_SUSPENSE_TYPE;
327-
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
328327
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
329328
ReactSharedInternals;
330329
exports.cache = function (fn) {
@@ -616,4 +615,4 @@ exports.useSyncExternalStore = function (
616615
exports.useTransition = function () {
617616
return ReactCurrentDispatcher.current.useTransition();
618617
};
619-
exports.version = "18.3.0-www-modern-1670571e";
618+
exports.version = "18.3.0-www-modern-93cc7f08";

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ exports.Profiler = REACT_PROFILER_TYPE;
368368
exports.PureComponent = PureComponent;
369369
exports.StrictMode = REACT_STRICT_MODE_TYPE;
370370
exports.Suspense = REACT_SUSPENSE_TYPE;
371-
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
372371
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
373372
ReactSharedInternals;
374373
exports.cache = function (fn) {
@@ -635,7 +634,7 @@ exports.useSyncExternalStore = function (
635634
exports.useTransition = function () {
636635
return ReactCurrentDispatcher.current.useTransition();
637636
};
638-
exports.version = "18.3.0-www-classic-e0d9c072";
637+
exports.version = "18.3.0-www-classic-9c85c048";
639638

640639
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
641640
if (

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ exports.Profiler = REACT_PROFILER_TYPE;
335335
exports.PureComponent = PureComponent;
336336
exports.StrictMode = REACT_STRICT_MODE_TYPE;
337337
exports.Suspense = REACT_SUSPENSE_TYPE;
338-
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
339338
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
340339
ReactSharedInternals;
341340
exports.cache = function (fn) {
@@ -627,7 +626,7 @@ exports.useSyncExternalStore = function (
627626
exports.useTransition = function () {
628627
return ReactCurrentDispatcher.current.useTransition();
629628
};
630-
exports.version = "18.3.0-www-modern-7fcd2222";
629+
exports.version = "18.3.0-www-modern-d8ca5639";
631630

632631
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
633632
if (

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10108,7 +10108,7 @@ var slice = Array.prototype.slice,
1010810108
return null;
1010910109
},
1011010110
bundleType: 0,
10111-
version: "18.3.0-www-classic-739b12ac",
10111+
version: "18.3.0-www-classic-04878b24",
1011210112
rendererPackageName: "react-art"
1011310113
};
1011410114
var internals$jscomp$inline_1306 = {
@@ -10139,7 +10139,7 @@ var internals$jscomp$inline_1306 = {
1013910139
scheduleRoot: null,
1014010140
setRefreshHandler: null,
1014110141
getCurrentFiber: null,
10142-
reconcilerVersion: "18.3.0-www-classic-739b12ac"
10142+
reconcilerVersion: "18.3.0-www-classic-04878b24"
1014310143
};
1014410144
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1014510145
var hook$jscomp$inline_1307 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16501,7 +16501,7 @@ Internals.Events = [
1650116501
var devToolsConfig$jscomp$inline_1791 = {
1650216502
findFiberByHostInstance: getClosestInstanceFromNode,
1650316503
bundleType: 0,
16504-
version: "18.3.0-www-modern-d09ac638",
16504+
version: "18.3.0-www-modern-4c77dfb7",
1650516505
rendererPackageName: "react-dom"
1650616506
};
1650716507
var internals$jscomp$inline_2160 = {
@@ -16532,7 +16532,7 @@ var internals$jscomp$inline_2160 = {
1653216532
scheduleRoot: null,
1653316533
setRefreshHandler: null,
1653416534
getCurrentFiber: null,
16535-
reconcilerVersion: "18.3.0-www-modern-d09ac638"
16535+
reconcilerVersion: "18.3.0-www-modern-4c77dfb7"
1653616536
};
1653716537
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1653816538
var hook$jscomp$inline_2161 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16839,4 +16839,4 @@ exports.unstable_createEventHandle = function (type, options) {
1683916839
return eventHandle;
1684016840
};
1684116841
exports.unstable_runWithPriority = runWithPriority;
16842-
exports.version = "18.3.0-www-modern-d09ac638";
16842+
exports.version = "18.3.0-www-modern-4c77dfb7";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24344,7 +24344,7 @@ function createFiberRoot(
2434424344
return root;
2434524345
}
2434624346

24347-
var ReactVersion = "18.3.0-www-modern-1670571e";
24347+
var ReactVersion = "18.3.0-www-modern-93cc7f08";
2434824348

2434924349
// Might add PROFILE later.
2435024350

0 commit comments

Comments
 (0)