2 ms·
what makes this application better suited to IndexedDB over localstorage? its not a lot of data. (genuine qtn, i tend to use localstorage a lot and have never
by swyx 6y ago
what makes this application better suited to IndexedDB over localstorage? its not a lot of data.
(genuine qtn, i tend to use localstorage a lot and have never handcoded IDB usage but have of course used libraries that used IDB)
- onion2k 6y agowhat makes this application better suited to IndexedDB over localstorage? its not a lot of data. I haven't found IndexedDB helps much the quantity of data (you can store more than localStorage, but most apps don't need close to that much). The advantage comes from iterating over the data (with cursors) for searching, and the fact that Indexeddb is versioned so you can migrate existing data to a new format when you deploy updates really easily.
- swyx 6y agoah, good, nuanced, points, thank you