Difference between quasar LocalStorage and vuex



  • I,ve been using LocalStorage for sharing data between components. But I know vuex does the same thing except vuex concept is single source of truth.

    My question is does data persist in LocalStorage supported in all browsers? Should I continue using LocalStorage because from what I’ve seen vuex is the way to go for data state management.



  • It really depends what you want it for. Vuex is used for state management. Local storage is for data you want persisted between sessions. Ideal for settings



  • I don’t want to create a new topic for it so I’ll use this one.

    What’s the advantage of using Quasar.LocalStorage over native api?



  • Helper methods, and conservation of data types

    Read more here


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.