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 — Clear `deletions` in `detachFiber` (#20401) · react/react@7659949

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-reconciler/src
    • ReactFiberCommitWork.new.js
    • ReactFiberCommitWork.old.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-reconciler/src/ReactFiberCommitWork.new.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberCommitWork.new.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,7 @@ function detachFiberMutation(fiber: Fiber) {
10741074
// and one of its descendants throws while unmounting a passive effect.
10751075
fiber.alternate = null;
10761076
fiber.child = null;
1077+
fiber.deletions = null;
10771078
fiber.dependencies = null;
10781079
fiber.firstEffect = null;
10791080
fiber.lastEffect = null;
Collapse file

‎packages/react-reconciler/src/ReactFiberCommitWork.old.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberCommitWork.old.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,7 @@ function detachFiberMutation(fiber: Fiber) {
10741074
// and one of its descendants throws while unmounting a passive effect.
10751075
fiber.alternate = null;
10761076
fiber.child = null;
1077+
fiber.deletions = null;
10771078
fiber.dependencies = null;
10781079
fiber.firstEffect = null;
10791080
fiber.lastEffect = null;

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.