Fork me on GitHub
#re-frame
<
2018-06-26
>
Hukka05:06:58

@scott.archer Note that also the same initialization event handler does the load from local storage, nothing magical happens there either. The real app-db is always in memory, you have to take care to synchronize it to local storage, cookies, and so on

Hukka06:06:14

@scott.archer In that todomvc-example a custom interceptor has been set up to write every change to local storage, at https://github.com/Day8/re-frame/blob/master/examples/todomvc/src/todomvc/events.cljs#L80