Discussion on: Using the Local Storage

nikolicstjepan profile image
Nikolić Stjepan

So if I got this right - localStorage is a like cookies except expire part (ls lasts until cleared) and you can store more data in it?

Thanks for the article, it is super useful!

p.s. I relay like design of your Note App!

sarah_chima profile image
Sarah Chima Author

Thanks for reading. I guess your question has been answered by Marcel and Lars.

marcel_cremer profile image
Marcel Cremer

No it's not - especially not in terms of security (because LocalStorage has no security model).

See also Please Stop Using Local Storage which shows some of the downsides.

larsklopstra profile image
Lars Klopstra

It's also limited to the client for the specified site, servers and other sites can not access it