How to Use localForage for Easy Async Browser Storage

1 · · Feb. 27, 2020, 11:20 p.m.
localForage is a convenient wrapper library that smoothes the rough landscape of browser databases. Of which there are several: localStorage IndexedDB and Web SQL Each of these options was initially designed with the same purpose: providing persistent storage in the browser. The reality is that each of the options has unique strengths and limitations that could make a simple database task in the browser take hours of reading docs. To install localForage run: $ npm install localforage Benef...