Skip to content

Commit 49441e3

Browse files
authored
refactor: remove dead code of fiber (#28389)
The `nextEffect` property of the `fiber` is currently not being used and has become dead code. It can be safely removed.
1 parent 8f01226 commit 49441e3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/react-reconciler/src/ReactInternalTypes.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ export type Fiber = {
157157
subtreeFlags: Flags,
158158
deletions: Array<Fiber> | null,
159159

160-
// Singly linked list fast path to the next fiber with side-effects.
161-
nextEffect: Fiber | null,
162-
163160
// The first and last fiber with side-effect within this subtree. This allows
164161
// us to reuse a slice of the linked list when we reuse the work done within
165162
// this fiber.

0 commit comments

Comments
 (0)