-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Description
Version
3.2.33
Reproduction link
Steps to reproduce
- Open debugger
- Notice 2 console logs show (expected)
- Click Add Filter button
- Notice the 2 lists in the HTML are updated (expected)
- Notice only 1 console log shows (not expected, should be 2)
What is expected?
After you click the Add Filter button, there should be 2 console logs that show.
What is actually happening?
Only 1 console log shows.
I'm using a set trap in one of my classes, and I ran into a couple of issues (outlined in this SO post). The first issue was that I had to use receiver
instead of target
when calling the method in the set trap... calling target
worked for my JS class, but when I started using it in my Vue component, it didn't work at all. The second issue is that I had to use ref
with a watchEffect
instead of computed
as this bug shows. I'm not sure if the first issue is my own ignorance for set traps, or if it's another bug, but I can create a separate issue if need be.
Metadata
Metadata
Assignees
Labels
No labels