[Vuejs]-How to access data inside a Vuex array when Proxied?

0👍

I am answering my own question as I realised my mistake when trying to write a more reproductible example. It was a simple synchronisation issue. The component was loaded before the array was assigned any data. So v-for worked as it is reactive. But accessing the array in the mounted hook failed because when the componented mounted, there was no data in the array yet.

Leave a comment