Fork me on GitHub
#om
<
2016-10-10
>
wilkerlucio13:10:56

thanks for that, reading this page was very enlightening

rackdon14:10:43

I need a library for manage routes management. I’ve seen Secretary and Bidi. What do you think is better?

alex-glv14:10:37

In om.next, what’s the difference between query and query expression?

alex-glv17:10:22

Hmm, any hints why after re-reading keys :ast doesn’t have :query anymore?

(om/transact! reconciler ‘[:board/list])
[..logs] ast  {:type :prop, :dispatch-key :board/list, :key [:board/list]}
Essentially sends empty route to the back-end.. Can’t quite figure it out.

alex-glv17:10:50

As opposed to initial rendering, (say on page reload)

ast  {:type :join, :dispatch-key :board/list, :key :board/list, :query [:db/id :board/name :board/description], :component boards-io.components/BoardItem, :children [{:type :prop, :dispatch-key :db/id, :key :db/id} {:type :prop, :dispatch-key :board/name, :key :board/name} {:type :prop, :dispatch-key :board/description, :key :board/description}]}