Closed
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.