[Vuejs]-Asignment in computed getters

0👍

Ideally you should not mutate the instance’s state inside a computed property.

In your case you should take a look at Vuex which is a shared state based on Flux architecture. In Vuex you can have getters and share the reactive state between multiple components…

Leave a comment