2 ms·
> First one can easily be solved using the local storage web API. No, he wants global user state, not local browser state. Those are fundamentally different. W
by nomel 5y ago
> First one can easily be solved using the local storage web API.
No, he wants global user state, not local browser state. Those are fundamentally different. With a local browser state, if I clear my browser website data, I get that again. If I use a different browser, I get it again. If I use a different device, I get it again.
Local storage should always be considered ephemeral, because it's trivial and common for it to be deleted or be unavailable.