I'm using localstorage to remember settings that used to be stored in cookies. These are things like the collapsed state of a panel, the dimensions of a popup window, and the most recently used values of a location picker. It works really well for that.
I think people run into problems when they store megabytes instead of kilobytes. Localstorage is essentially cookie storage without the networking dependency. Treat it like that and it works well.