Fork me on GitHub
#re-frame
<
2018-08-02
>
hoopes22:08:38

i know this is not a great "bug report", but is it known if/how 10x gets out of sync with the app db? For one particular event in my app (that appears to be just a vanilla event, setting something in the db), it is not reflected in the 10x app-db inspector. I can look at the app db in the repl, and what i expect is there, but not in the 10x inspector. Is there something I can do (from js console?) to tell 10x to re-sync with the app db?

mikethompson23:08:51

@hoopes odd, we've never had a bug report like that

hoopes23:08:18

@mikethompson i have this from the repl:

[1:1]~cljs.user=> (require '[re-frame.db :as db])
[1:1]~cljs.user=> (get-in @db/app-db [:job-edit :job])
<...big map of data...>

hoopes23:08:44

and this in 10x

hoopes23:08:09

nm - i had to close 10x to click on the thing that triggered the event (and db update) - it was not reflected when i re-opened it - once i popped 10x out into its own window, and clicked the button, it caught it and was properly reflected in the interface

hoopes23:08:26

i didn't realize 10x sidebar interface had to be open to catch events - my mistake