DEV Community

loading...

Discussion on: localStorage vs cookies: the "tabs vs spaces" sterile debate of web development 🙄

Collapse
jmau111 profile image
Julien Maury

I would say the client-side is probably not the right candidate for critical information.

People often say it's "insecure", but I agree with you on the fact it's rarely exploitable, and if anyone manages to do that, you have a big problem anyway.

A lot of so-called best practices follow the same pattern. The idea is to provide some guidelines and prevent any misuses.

However, and it's a big disclaimer, as developers, rather than accepting what we read or listen to at face value, we need to be critical.