om

Please ask the channel first, not @dnolen directly!
2017-08-17T18:10:20.000112Z

is there any tutorial on using merge and tempids?

briantrice 2017-08-17T22:04:09.000052Z

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

briantrice 2017-08-17T22:04:20.000162Z

Iā€™m thinking something like the redux devtools extension

wilkerlucio 2017-08-17T23:39:43.000203Z

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

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

1šŸ‘
wilkerlucio 2017-08-17T23:40:16.000018Z

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

wilkerlucio 2017-08-17T23:40:42.000033Z

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

briantrice 2017-08-17T23:40:47.000212Z

not bad, ok