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:
bubucuo
2024-02-21 11:17:21 +00:00
committed by GitHub
parent 353ecd0516
commit ddd736d258
-6
View File
@@ -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,