As far as I know, Vue reactivity tracks appointments. If you are performing an assignment on your device, it should track reactivity, for example:
methods: { add(item) { this.mySet = new Set(this.mySet.add(item)); } }
This gives you cleaner code, but with an obvious problem: performance.
Just choose the solution according to your needs :)
luixal
source share