Skip to content

Commit 945352e

Browse files
committed
fix comment casing
1 parent c827582 commit 945352e

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
@@ -2891,7 +2891,7 @@ describe('ReactDOMFizzServer', () => {
28912891
</div>,
28922892
);
28932893

2894-
// the client app is rendered with an intentionally incorrect text. The still Suspended component causes
2894+
// The client app is rendered with an intentionally incorrect text. The still Suspended component causes
28952895
// hydration to fail silently (allowing for cache warming but otherwise skipping this boundary) until it
28962896
// resolves.
28972897
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
@@ -81,8 +81,8 @@ let hydrationParentFiber: null | Fiber = null;
8181
let nextHydratableInstance: null | HydratableInstance = null;
8282
let isHydrating: boolean = false;
8383

84-
// this flag allows for warning supression when we expect there to be mismatches due to
85-
// earlier mismatches or a suspended fiber.
84+
// This flag allows for warning supression when we expect there to be mismatches
85+
// due to earlier mismatches or a suspended fiber.
8686
let didSuspendOrErrorDEV: boolean = false;
8787

8888
// 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
@@ -81,8 +81,8 @@ let hydrationParentFiber: null | Fiber = null;
8181
let nextHydratableInstance: null | HydratableInstance = null;
8282
let isHydrating: boolean = false;
8383

84-
// this flag allows for warning supression when we expect there to be mismatches due to
85-
// earlier mismatches or a suspended fiber.
84+
// This flag allows for warning supression when we expect there to be mismatches
85+
// due to earlier mismatches or a suspended fiber.
8686
let didSuspendOrErrorDEV: boolean = false;
8787

8888
// Hydration errors that were thrown inside this boundary

0 commit comments

Comments
 (0)