Kahla.App
Kahla.App copied to clipboard
Consider using localForge to replace localStorage
https://github.com/localForage/localForage
Unified a standard interface for all places that need to access localstorage. So we only need to change the implementation and can easily change the provider of the cache service.
Or, add some additional features, such as automatic localstorage expiration. After I completely change, replacing our underlying storage service is a very simple matter.