DEV Community

Discussion on: Vue and localStorage?

Collapse
 
michi profile image
Michael Z • Edited

It really depends on your use case. But if you want to persist data so that, when one user adds a method, every person on the internet should see it too, then vuex won't help here either. It is just a way to manage your local state.

In such a case, what you actually want is to persist the data in a database like MySQL (requires server) or maybe something serverless like Firebase. Firebase is probably easier to set up as you don't need to host the database yourself somewhere and there is a free tier that should be good enough.

Thread Thread
 
cguttweb profile image
Chloe

I've read a bit on Firebase I will take a look and give it a go thanks :)