GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Fiber] Fix missing render times when we cancel a pending commit (#31… · react/react@778e1ed

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • react-dom-bindings/src/client
      • ReactFiberConfigDOM.js
    • react-reconciler/src
      • ReactFiberWorkLoop.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js‎

Copy file name to clipboardExpand all lines: packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3401,7 +3401,7 @@ export function suspendResource(
34013401
}
34023402
}
34033403

3404-
export function waitForCommitToBeReady(): null | (Function => Function) {
3404+
export function waitForCommitToBeReady(): null | ((() => void) => () => void) {
34053405
if (suspendedState === null) {
34063406
throw new Error(
34073407
'Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.',
Collapse file

‎packages/react-reconciler/src/ReactFiberWorkLoop.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberWorkLoop.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,8 @@ function commitRootWhenReady(
13081308
updatedLanes,
13091309
suspendedRetryLanes,
13101310
SUSPENDED_COMMIT,
1311+
completedRenderStartTime,
1312+
completedRenderEndTime,
13111313
),
13121314
);
13131315
const didAttemptEntireTree = !didSkipSuspendedSiblings;
@@ -3001,8 +3003,6 @@ function commitRoot(
30013003
ReactSharedInternals.T = prevTransition;
30023004
setCurrentUpdatePriority(previousUpdateLanePriority);
30033005
}
3004-
3005-
return null;
30063006
}
30073007

30083008
function commitRootImpl(

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.