mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
refactor: remove dead types of fiber (#28405)
The properties `firstEffect` and `lastEffect` of the Fiber are currently not being used and are considered to be dead code, and can be removed.
This commit is contained in:
@@ -157,12 +157,6 @@ export type Fiber = {
|
||||
subtreeFlags: Flags,
|
||||
deletions: Array<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.
|
||||
firstEffect: Fiber | null,
|
||||
lastEffect: Fiber | null,
|
||||
|
||||
lanes: Lanes,
|
||||
childLanes: Lanes,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user