susanBuck / e28-spring20

0 stars 0 forks source link

Zipfoods - Vuex data #85

Closed maqboolk closed 4 years ago

maqboolk commented 4 years ago

Vuex: where can I find stored data? for eg. data for Cart.quantity

Using Local storage, I can see data in Applications tab within inspector, but using Vuex where do I see the stored data besides Vuex tab in inspector?

Does Vuex create a file? What will happen if I Clear History and Cache Or use incognito browser window?

DoryAzar commented 4 years ago

It’s important to not confuse the Vuex store with permanent storage though. Vuex is just a « loaded » version of the data (no matter what storage it is on) that is kept live, alive and up-to-date throughout the session so that components can get the latest version of it quickly without having to fetch it from storage every time they need it.

maqboolk commented 4 years ago

@DoryAzar , Thank you!