watchers inside of EffectScope are still collected by the current component
Version
3.2.0-beta.2
Reproduction link
Steps to reproduce
- Click the button
- change the input -> logs changes
- Click the button again
- change the input -> changes are no longer logged
What is expected?
the watcher should not be disposed of when the component is unmounted
What is actually happening?
the watcher is destroyed along the component