Open rufuspollock opened 11 years ago
Added notes about IndexedDB wrapper libraries
Local storage gone in #99. The plan is to persist data to gists in the short term, later reintroducing an IndexedDB-based local cache.
There's a work-in-progress pull request here: #101
Wonder if @maxogden's https://github.com/maxogden/level.js + levelup would be useful here ...
Why
Reasons why we need local data ...
Implementation
Alternatives ...
Plan
We will go for just removing localStorage
Notes on Indexed DB Libraries
Indexed DB itself has a fairly painful API. We therefore probably want to use a wrapper.
Two existing JS wrappers. Both do a good job of removing some of the pain of using IndexedDB and of working consistently cross-browser. These are my rough impressions: