Skip to content

Commit d5ed77b

Browse files
committed
[DevTools] Record Suspense node for roots in legacy renderers (facebook#34516)
DiffTrain build for [03a96c7](facebook@03a96c7)
1 parent 31940cd commit d5ed77b

35 files changed

+3249
-2299
lines changed

compiled/eslint-plugin-react-hooks/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25489,6 +25489,10 @@ function isReorderableExpression(builder, expr, allowLocalIdentifiers) {
2548925489
return true;
2549025490
}
2549125491
}
25492+
case 'TSInstantiationExpression': {
25493+
const innerExpr = expr.get('expression');
25494+
return isReorderableExpression(builder, innerExpr, allowLocalIdentifiers);
25495+
}
2549225496
case 'RegExpLiteral':
2549325497
case 'StringLiteral':
2549425498
case 'NumericLiteral':
@@ -41666,7 +41670,9 @@ function computeSignatureForInstruction(context, env, instr) {
4166641670
}
4166741671
case 'PropertyStore':
4166841672
case 'ComputedStore': {
41669-
const mutationReason = value.kind === 'PropertyStore' && value.property === 'current'
41673+
const mutationReason = value.kind === 'PropertyStore' &&
41674+
value.property === 'current' &&
41675+
value.object.identifier.type.kind === 'Type'
4167041676
? { kind: 'AssignCurrentProperty' }
4167141677
: null;
4167241678
effects.push({

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
78997291302c42b788dafa4c12da246e44be2dda
1+
03a96c75db12eeac36b4d5d88c13e3a12d46efe1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
78997291302c42b788dafa4c12da246e44be2dda
1+
03a96c75db12eeac36b4d5d88c13e3a12d46efe1

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ __DEV__ &&
14191419
exports.useTransition = function () {
14201420
return resolveDispatcher().useTransition();
14211421
};
1422-
exports.version = "19.2.0-www-classic-78997291-20250916";
1422+
exports.version = "19.2.0-www-classic-03a96c75-20250918";
14231423
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14241424
"function" ===
14251425
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
@@ -1419,7 +1419,7 @@ __DEV__ &&
14191419
exports.useTransition = function () {
14201420
return resolveDispatcher().useTransition();
14211421
};
1422-
exports.version = "19.2.0-www-modern-78997291-20250916";
1422+
exports.version = "19.2.0-www-modern-03a96c75-20250918";
14231423
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14241424
"function" ===
14251425
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
@@ -602,4 +602,4 @@ exports.useSyncExternalStore = function (
602602
exports.useTransition = function () {
603603
return ReactSharedInternals.H.useTransition();
604604
};
605-
exports.version = "19.2.0-www-classic-78997291-20250916";
605+
exports.version = "19.2.0-www-classic-03a96c75-20250918";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,4 +602,4 @@ exports.useSyncExternalStore = function (
602602
exports.useTransition = function () {
603603
return ReactSharedInternals.H.useTransition();
604604
};
605-
exports.version = "19.2.0-www-modern-78997291-20250916";
605+
exports.version = "19.2.0-www-modern-03a96c75-20250918";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ exports.useSyncExternalStore = function (
606606
exports.useTransition = function () {
607607
return ReactSharedInternals.H.useTransition();
608608
};
609-
exports.version = "19.2.0-www-classic-78997291-20250916";
609+
exports.version = "19.2.0-www-classic-03a96c75-20250918";
610610
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
611611
"function" ===
612612
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
@@ -606,7 +606,7 @@ exports.useSyncExternalStore = function (
606606
exports.useTransition = function () {
607607
return ReactSharedInternals.H.useTransition();
608608
};
609-
exports.version = "19.2.0-www-modern-78997291-20250916";
609+
exports.version = "19.2.0-www-modern-03a96c75-20250918";
610610
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
611611
"function" ===
612612
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)