Yeah I’ve mulled over implementing a plugin for local/session storage but the idea always makes my skin crawl. I think what really gets under my skin about using local/session storage in Bubble is that whatever use case a developer thinks they are solving with local/session storage it is probably better addressed with more native Bubble techniques. Such as custom states.
My take on the MDN documentation for local/session storage was that it was intended for building things like client side spreadsheets. So in the context of Bubble, a plugin developer would use it discretely behind the scenes to manage more complex semi-persistent state. A possible use case is a plugin that can “resume where you left off” on returning to the page after navigating around the app, i.e. unsaved (to the DB) data in a text editor (partial answers to quizzes and tests, maybe?). Or sinlgeton/monadic plugin elements where there can be multiple copies on the page but they all mirror each other via the local/session storage, rather than polluting the global/window object.