Fork me on GitHub
#om
<
2017-08-17
>
cjhowe18:08:20

is there any tutorial on using merge and tempids?

briantrice22:08:09

is there a state-update tracker for the browser to see what the om state tree is doing?

briantrice22:08:20

I’m thinking something like the redux devtools extension

wilkerlucio23:08:43

@briantrice I usually write a function like this on my core.cljs:

(defn log-state []
  (-> @app :reconciler om/app-state deref js/console.log))

wilkerlucio23:08:16

then I can just call it from the browser console, eg: my.namespace.core.log_state()

wilkerlucio23:08:42

ps: this code is a Fulcro example, but you can do the same by referencing the Om reconciler directly, just skip the @app part