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.
This commit is contained in:
bubucuo
2024-02-20 14:31:15 -05:00
committed by GitHub
parent 8f012266dc
commit 49441e342f
-3
View File
@@ -157,9 +157,6 @@ export type Fiber = {
subtreeFlags: Flags,
deletions: Array<Fiber> | null,
// Singly linked list fast path to the next fiber with side-effects.
nextEffect: Fiber | null,
// The first and last fiber with side-effect within this subtree. This allows
// us to reuse a slice of the linked list when we reuse the work done within
// this fiber.