SIGN IN SIGN UP

Fix incorrect unmounted state update warning (#18617)

* Fix incorrect unmounted state update warning

We detach fibers (which nulls the  field) when we commit a deletion, so any state updates scheduled between that point and when we eventually flush passive effect destroys won't have a way to check if there is a pending passive unmount effect scheduled for its alternate unless we also explicitly track this for both the current and the alternate.

This commit adds a new DEV-only effect type, `PendingPassiveUnmountDev`, to handle this case.
B
Brian Vaughn committed
263bc5d54b6c9bde51328aa8c7ddd985f97db72d
Parent: 52a0d6b
Committed by GitHub <noreply@github.com> on 4/18/2020, 7:18:19 PM