0๐
I would compute the data you want to render in a computed property then iterate over it in your template.
This can be done in a few ways. I would recommend using lodash difference
and unique
you can create a single array with unique value and then filter your existing elements if they are not in the unique element array.
- [Vuejs]-Initialize vuex store data at startup in a Vue-Electron App using v-model
- [Vuejs]-Dynamic Form in Vue โ checkbox stays checked
Source:stackexchange.com