Skip to content

Commit 851dde2

Browse files
committed
fix comment casing
1 parent cfc078d commit 851dde2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2922,7 +2922,7 @@ describe('ReactDOMFizzServer', () => {
29222922
</div>,
29232923
);
29242924

2925-
// the client app is rendered with an intentionally incorrect text. The still Suspended component causes
2925+
// The client app is rendered with an intentionally incorrect text. The still Suspended component causes
29262926
// hydration to fail silently (allowing for cache warming but otherwise skipping this boundary) until it
29272927
// resolves.
29282928
const [ClientApp, clientResolve] = makeApp();

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ let hydrationParentFiber: null | Fiber = null;
8585
let nextHydratableInstance: null | HydratableInstance = null;
8686
let isHydrating: boolean = false;
8787

88-
// this flag allows for warning supression when we expect there to be mismatches due to
89-
// earlier mismatches or a suspended fiber.
88+
// This flag allows for warning supression when we expect there to be mismatches
89+
// due to earlier mismatches or a suspended fiber.
9090
let didSuspendOrErrorDEV: boolean = false;
9191

9292
// Hydration errors that were thrown inside this boundary

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ let hydrationParentFiber: null | Fiber = null;
8585
let nextHydratableInstance: null | HydratableInstance = null;
8686
let isHydrating: boolean = false;
8787

88-
// this flag allows for warning supression when we expect there to be mismatches due to
89-
// earlier mismatches or a suspended fiber.
88+
// This flag allows for warning supression when we expect there to be mismatches
89+
// due to earlier mismatches or a suspended fiber.
9090
let didSuspendOrErrorDEV: boolean = false;
9191

9292
// Hydration errors that were thrown inside this boundary

0 commit comments

Comments
 (0)