Fork me on GitHub
#om
<
2016-07-01
>
hlolli12:07:49

Just heads up, if you are using ring-transit, then to save 24+ hours of your life to rather use the middleware.clj for wrap-transit-respone middleware from Anmonteiro. Because ring-transit is broken and wont show you the transit request from the backend.

anmonteiro12:07:48

yeah, if you’re using transit you should use Om Next’s writer and reader, as they are extended to support om tempids

hlolli12:07:08

Ok good to know, I see that you got that covered in the middleware.clj files you supply in your talks repo (and probably in many other projects).

ethangracer20:07:46

anybody seeing non-deterministic behavior around props for componentWillUpdate and componentDidUpdate? sometimes the next-props argument has the old props, sometimes it doesn’t

ethangracer20:07:30

(componentWillUpdate [this next-props _]
    (js/console.log "Will” (clojure.data/diff (om/props this) next-props)))