Fork me on GitHub
#re-frame
<
2019-08-14
>
beders17:08:25

Hi there, I just tried the re-frame-template, but I can't seem to get 10x to work. It only shows me nil in the DB inspector

beders17:08:05

Shadow-cljs, hot reload, all seem to be working

beders17:08:29

there's also a

:preloads     [devtools.preload
                                                 day8.re-frame-10x.preload]

beders17:08:37

any idea what to check next?

beders17:08:56

ok, found it: apparently, you need to trigger at least one event (I added a quick button)

beders17:08:06

it looks like it might not see the initial event ::initialize-db

beders17:08:12

changing line 22 in the generated core.cljs to: (re-frame/dispatch [::events/initialize-db])

beders17:08:21

will allow 10x to see the initial event