Sep 5, 2018 · 1 min read
Hi Travis!
Thank you for the great article! However, I would like to add a wrapper around the localStorage. This can been done in the following JS fiddle:
By doing this, you can call this.$storage.has('todos'), this.$storage.get('todos') and this.$storage.set('todos', this.todos), which makes it a lot cleaner in my opinion and it can be used throughout the whole application.
