Skip to content

Commit 6460f04

Browse files
committed
[Fiber] Override the getCurrentStack temporarily while printing errors (#30300)
Only for parent stacks. This ensures that we can use the regular mechanism for appending stack traces. E.g. you can polyfill it. This is mainly so that I can later remove the automatic appending. DiffTrain build for [3b2e5f2](3b2e5f2)
1 parent 7776712 commit 6460f04

34 files changed

+80
-80
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14fdd0e21c420deb4bb96fc1e9021b531543d15a
1+
3b2e5f27c5b72708677da27779852b9aa83ef909
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14fdd0e21c420deb4bb96fc1e9021b531543d15a
1+
3b2e5f27c5b72708677da27779852b9aa83ef909

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ __DEV__ &&
19981998
exports.useTransition = function () {
19991999
return resolveDispatcher().useTransition();
20002000
};
2001-
exports.version = "19.0.0-www-classic-14fdd0e21c-20240710";
2001+
exports.version = "19.0.0-www-classic-3b2e5f27c5-20240710";
20022002
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
20032003
"function" ===
20042004
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
@@ -1978,7 +1978,7 @@ __DEV__ &&
19781978
exports.useTransition = function () {
19791979
return resolveDispatcher().useTransition();
19801980
};
1981-
exports.version = "19.0.0-www-modern-14fdd0e21c-20240710";
1981+
exports.version = "19.0.0-www-modern-3b2e5f27c5-20240710";
19821982
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19831983
"function" ===
19841984
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
@@ -669,4 +669,4 @@ exports.useSyncExternalStore = function (
669669
exports.useTransition = function () {
670670
return ReactSharedInternals.H.useTransition();
671671
};
672-
exports.version = "19.0.0-www-classic-14fdd0e21c-20240710";
672+
exports.version = "19.0.0-www-classic-3b2e5f27c5-20240710";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,4 +669,4 @@ exports.useSyncExternalStore = function (
669669
exports.useTransition = function () {
670670
return ReactSharedInternals.H.useTransition();
671671
};
672-
exports.version = "19.0.0-www-modern-14fdd0e21c-20240710";
672+
exports.version = "19.0.0-www-modern-3b2e5f27c5-20240710";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ exports.useSyncExternalStore = function (
673673
exports.useTransition = function () {
674674
return ReactSharedInternals.H.useTransition();
675675
};
676-
exports.version = "19.0.0-www-classic-14fdd0e21c-20240710";
676+
exports.version = "19.0.0-www-classic-3b2e5f27c5-20240710";
677677
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
678678
"function" ===
679679
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
@@ -673,7 +673,7 @@ exports.useSyncExternalStore = function (
673673
exports.useTransition = function () {
674674
return ReactSharedInternals.H.useTransition();
675675
};
676-
exports.version = "19.0.0-www-modern-14fdd0e21c-20240710";
676+
exports.version = "19.0.0-www-modern-3b2e5f27c5-20240710";
677677
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
678678
"function" ===
679679
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16937,14 +16937,14 @@ __DEV__ &&
1693716937
scheduleRoot: scheduleRoot,
1693816938
setRefreshHandler: setRefreshHandler,
1693916939
getCurrentFiber: getCurrentFiberForDevTools,
16940-
reconcilerVersion: "19.0.0-www-classic-14fdd0e21c-20240710"
16940+
reconcilerVersion: "19.0.0-www-classic-3b2e5f27c5-20240710"
1694116941
});
1694216942
})({
1694316943
findFiberByHostInstance: function () {
1694416944
return null;
1694516945
},
1694616946
bundleType: 1,
16947-
version: "19.0.0-www-classic-14fdd0e21c-20240710",
16947+
version: "19.0.0-www-classic-3b2e5f27c5-20240710",
1694816948
rendererPackageName: "react-art"
1694916949
});
1695016950
var ClippingRectangle = TYPES.CLIPPING_RECTANGLE,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16373,14 +16373,14 @@ __DEV__ &&
1637316373
scheduleRoot: scheduleRoot,
1637416374
setRefreshHandler: setRefreshHandler,
1637516375
getCurrentFiber: getCurrentFiberForDevTools,
16376-
reconcilerVersion: "19.0.0-www-modern-14fdd0e21c-20240710"
16376+
reconcilerVersion: "19.0.0-www-modern-3b2e5f27c5-20240710"
1637716377
});
1637816378
})({
1637916379
findFiberByHostInstance: function () {
1638016380
return null;
1638116381
},
1638216382
bundleType: 1,
16383-
version: "19.0.0-www-modern-14fdd0e21c-20240710",
16383+
version: "19.0.0-www-modern-3b2e5f27c5-20240710",
1638416384
rendererPackageName: "react-art"
1638516385
});
1638616386
var ClippingRectangle = TYPES.CLIPPING_RECTANGLE,

0 commit comments

Comments
 (0)