DEV Community

loading...

Discussion on: What is localStorage?

Collapse
ivanjeremic profile image
Ivan Jeremic

Don't use LocalStorage anymore in apps, use IndexedDB

Collapse
christiankozalla profile image
Christian Kozalla

Okay, thanks for the tip.

What are the advantages of indexedDB over localStorage?

Thread Thread
ivanjeremic profile image
Ivan Jeremic

It is not blocking javascript I recommend watching youtu.be/NNuTV-gjlZQ

Thread Thread
christiankozalla profile image
Christian Kozalla

Nice, so thank you for pointing out IndexedDB, since I wasn't familiar with it. One more advantage I have found is, that it can be used with Service Workers (or Web Workers in general) 👍