Skip to content

Commit dfb223e

Browse files
committed
Update comment
1 parent a263481 commit dfb223e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-reconciler/src/ReactFiberThrow.new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function throwException(
261261
// subsequent synchronous update to re-render the Suspense.
262262
//
263263
// Note: It doesn't matter whether the component that suspended was
264-
// inside a legacy tree. If the Suspense is outside of it, we
264+
// inside a concurrent mode tree. If the Suspense is outside of it, we
265265
// should *not* suspend the commit.
266266
//
267267
// If the suspense boundary suspended itself suspended, we don't have to

packages/react-reconciler/src/ReactFiberThrow.old.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function throwException(
261261
// subsequent synchronous update to re-render the Suspense.
262262
//
263263
// Note: It doesn't matter whether the component that suspended was
264-
// inside a legacy tree. If the Suspense is outside of it, we
264+
// inside a concurrent mode tree. If the Suspense is outside of it, we
265265
// should *not* suspend the commit.
266266
//
267267
// If the suspense boundary suspended itself suspended, we don't have to

0 commit comments

Comments
 (0)