re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
superstructor 2021-06-09T09:44:00.075900Z

The todomvc mentioned above is a good simple example. For a more complex example re-frame-10x has an after interceptor for saving db state to a localstorage key and a ::get coeffect for loading data from a localstorage key. See https://github.com/day8/re-frame-10x/blob/master/src/day8/re_frame_10x/fx/local_storage.cljs for the impl and https://github.com/day8/re-frame-10x/blob/master/src/day8/re_frame_10x/panels/settings/events.cljs#L22 for save example and https://github.com/day8/re-frame-10x/blob/master/src/day8/re_frame_10x/events.cljs#L17 for a load example. In retrospect I would probably just rename those save (instead of after) and ::load (instead of ::get ). @nicdaoraf

2👍1
anonimitoraf 2021-06-10T22:51:20.082700Z

Thanks for the comprehensive info! I'll check it out later :)