I'm looking for a solution to make my vuex data reactive.
Let me explain the context. I render a list from vuex data with
`computed: {
...mapGetters(["groups"])
},`
This list can be modified by the user with a drag and drop system. (I use https://github.com/Vivify-Ideas/vue-draggable FYI)
The problem is that data is not reactive. Usually I let the data in the data() vuejs propertie, so when a user modify the list, the data is reactively updated.
So is it possible to import the data from vuex to data() properties ? So:
1/ data from vuex is "imported" in data()
2/ data() is modified by user interactions
3/ data() is saved when necessary in vuex (in my const state = {}).
I didn't found my hapiness in my last search =(
vue-draggable
changes something. – Eder Díaz