DEV Community

Discussion on: Please Stop Using Local Storage

Collapse
 
frankhhq profile image
Frank

Article is very misleading. Local Storage is good for storing cache data like shopping cart and check out items which you can clear after checkout or cancel checkout. There are many benefits of it for developers that is why it was created. Instead of spreading lies, you should make the tile to "Please Stop Using Local Storage TO STORE JWT TOKENS".

I also dont see any issue storing session objects to localStograte as long as I encrypt with public and private key. SO what if an attacker can get it, what are you going to use it for? Are you going to brute force? How do you get my and where can you get my encryption key?

So stop posting a general statement which is not entirely true and FUD but write a very specific points to support your argument. Thank you.