Open Zlatkovsky opened 5 years ago
Putting it into "near future", though it might be a little on the longer-term side of that bucket.
It would be preferable to use indexedDB
it's tricky to swap over now because indexedDB requires async calls.
This would avoid the issues we have seen when people have too much in their local storage.
LocalStorage caps out at 5mb or 10mb on most browsers -- whereas IndexeDB can store up to a gig!
https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
Also per the link above, there are simpler wrappers around the IndexedDB API.