-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingSomething isn't workingscope: reactivity
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
Metadata
Metadata
Assignees
Labels
❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingSomething isn't workingscope: reactivity