DB or Localstorage?
Hey everyone, I want to store the settings/preference of users
For example
If I have to store color preference, theme preference, sound preferences or any settings related preferences
So should I store it in Database and every time user loads the react app, it will be fetched and those settings will be applied
Or should I store them in localstorage and then apply settings??
For example
If I have to store color preference, theme preference, sound preferences or any settings related preferences
So should I store it in Database and every time user loads the react app, it will be fetched and those settings will be applied
Or should I store them in localstorage and then apply settings??