What a horrible title to use for your article.
You could have used "Please stop using local storage FOR SENSITIVE INFORMATION".
besides that, its an amazing API which allows us developers to make cool things you couldnt do without ( at least not that easy ).
Examples of localStorage uses I have used:
Website theme changing
Client information such as duration of visit per page ( you save this in localStorage so you can send this info to the server with AJAX on next page visit sendBeacon has limited support, on unload doesnt seem to work persistently)
Device specific settings on a website that cant/ dont need to be saved in externally.
I could think of many other uses for the great localStorage API.
simply, it can store anything ( ofcourse dont store sensitive information ) which doesn't need or can't be saved to a server for whatever reason.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.