Closed
Description
Vue version
edge
Link to minimal reproduction
Steps to reproduce
- Click the "negate button" -> see multiple logs
- untick the checkbox and tick it again (triggers unmount + mount of component)
- Click the negate button again -> see only one log
What is expected?
watchEffect should trigger because it's inside of a detached effectScope
What is actually happening?
watchEffect isn't run anymore after the wrapping component unmounts
System Info
na
Any additional comments?
From vuejs/pinia#1862