forked from facebook/react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add separate ChildDeletion flag (facebook#20264)
In the old, effect list implementation, the Deletion flag is is set on each deleted fiber. In the new, subtreeTag implementation, the Deletion flag is set on the parent of each deleted fiber, and the deleted fibers themselves are pushed to the `deletions` array. To better distinguish between these two uses, I've added a separate ChildDeletion flag. That way we can, if desired, maintain both implementations simultaneously, as we bisect to find the performance regression that we're currently investigating.
- Loading branch information
Showing
1 changed file
with
33 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters