-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Open
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: reactivity
Description
Vue version
=3.5.17
Link to minimal reproduction
Steps to reproduce
- click begin button. The ui show the initial ref value 1000. And in the programme I created an effectScope and a watch funcion inside it watching the change of this ref.
- clck add button. The ref value was added by 1. The ui show the updated value 1001 correctly.
- click end button. This will call effectScope.stop(). And reset the ref value to 0. The ui show the value 0 correctly.
- click begin button again. The ui always show 0 and does not update anymore, though the ref value is changing.
What is expected?
After step 3 and step 4, the ui shows the correct ref value, and keep updated with it's changing.
What is actually happening?
After step 3 and 4. The ui shows 0 and does not update anymore
System Info
vue >= 3.5.17Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: reactivity