-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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.regressionscope: reactivity
Description
Vue version
3.5.9
Link to minimal reproduction
Steps to reproduce
Just click the button.
What is expected?
All the watchers should log and rendering should update.
What is actually happening?
The first two watchers log, but everything after that stops reacting.
System Info
No response
Any additional comments?
I believe this is caused by 10ff159. The reproduction works correctly in 3.5.8.
The NOTIFIED
flags all get cleared up front in endBatch()
. The sync
watcher notifies subscribers that are already in the running batch, leading to the next
flag being incorrectly reset. The subscribers linked via the original next
value are never run.
hugoattal and linzhe141
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.regressionscope: reactivity