mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user