Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid scheduling unnecessary callbacks for cleanup effects
Updated enqueuePendingPassiveEffectDestroyFn() to check rootDoesHavePassiveEffects before scheduling a new callback. This way we'll only schedule (at most) one.
- Loading branch information