Ideal way to load settings/configs

Suppose I have a bunch of settings like user preferences (dark mode), or configs which I load using an API, How should I save and load these settings on start. Should I just save these settings in localstorage, and then use onMount() in the main App component to set the signals for all my configs? Or is there some better way?
1 Reply
Some Call Me Tim
I'd save them in your database, and just grab them on initial load/setup, then users can use their phone/tablet/pc and all the settings are the same
Want results from more Discord servers?
Add your server