When storage helps and when it does not
Useful persistence is not the same as dumping everything into the browser.
- Good candidates: theme choice, filters, draft values, last active tab.
- Bad candidates: secrets, sensitive tokens and high-risk business data.
- Good candidates: small, simple values and lightweight objects.
- Bad candidates: giant blobs or data you cannot trust on the client.