website icon indicating copy to clipboard operation
website copied to clipboard

(Chore): Refactor and Simplify LocalStorage

Open simeydk opened this issue 5 years ago • 0 comments

This change simplifies the use of localStorage in the Player component in the following ways:

  • Renames localStorage variables to align with the names of variables in the component
  • Abstracts away the tedium of going to and from JSON text through a localStorageObject module

It also includes a converter to go from the old localStorage variables to the new schema

simeydk avatar Oct 12 '19 21:10 simeydk