Don't warn about unmounted updates if pending passive unmount (#18096)
I recently landed a change to the timing of passive effect cleanup functions during unmount (see #17925). This change defers flushing of passive effects for unmounted components until later (whenever we next flush pending passive effects). Since this change increases the likelihood of a (not actionable) state update warning for unmounted components, I've suppressed that warning for Fibers that have scheduled passive effect unmounts pending.
B
Brian Vaughn committed
78e816032c8af962343abbf384e06f3e9bae9269
Parent: 2c4221c
Committed by GitHub <noreply@github.com>
on 2/21/2020, 9:11:53 PM