If you wanted to sync your re-frame db, with localstorage, how might you go about it? I'm just starting this brainstorming session, so just give me your one word answers like ratoms or oh-god-dont-do-that.
Some prior art: https://github.com/alandipert/storage-atom
I do it this way with re-frame https://github.com/valerauko/kitsune/blob/main/web/src/kitsune/effects.cljs The interceptor can be added to events after which you want to persist. The cofx can be used to load data from storage when you need it.
I also use co-effects and effects, and (this is probably overkill) transit.
There's a super simple example in the re-frame repo's sample todomvc ...
Thanks for the suggestions everyone.