Wrapper for local storage interaction with user preferences
Was chatting with @edgebal and noticed some weak areas in the local storage that rely on 0's and 1's. It'd be nice if we could clean this up and put it into its own service to make interaction cleaner.
I'd also suggest consideration be paid to looking into something like https://github.com/gruns/ImmortalDB for the sake of data integrity.
Example calls to the service could be as simple as (Emi's examples):
this.userPrefs.set('recurring-wire', true)
this.userPrefs.set('recurring-wire', false)
this.userPrefs.set('foo', { bar: 'baz' })
Edited by Ben