Working on an actually useful localStorage plugin and read this plugin’s code just for yuks. It’s incredibly naïve and primitive.

It doesn’t know how to handle Things nor does it understand Lists (which we already know from comments above), but also only outputs the retrieved key value as text without JSON.parsing it. (The main interface has no type selector field so that’s all it could ever do. localStorage/sessionStorage can only hold strings (JSON.stringify’ed values), but of course we can restore them to their actual data types by parsing them properly.)

So, for the typical Bubbler, this plugin is less than useless.

2 Likes