This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-25
Channels
- # beginners (27)
- # boot (49)
- # cider (51)
- # cljs-dev (29)
- # cljsjs (1)
- # cljsrn (19)
- # clojure (59)
- # clojure-austin (2)
- # clojure-belgium (19)
- # clojure-china (1)
- # clojure-dev (14)
- # clojure-dusseldorf (7)
- # clojure-russia (8)
- # clojure-spec (115)
- # clojure-uk (45)
- # clojurescript (118)
- # css (6)
- # cursive (8)
- # datascript (20)
- # datomic (32)
- # emacs (5)
- # events (2)
- # flambo (21)
- # hoplon (58)
- # incanter (8)
- # jobs-rus (1)
- # jobs_rus (1)
- # off-topic (3)
- # om (22)
- # om-next (9)
- # onyx (5)
- # other-languages (79)
- # re-frame (126)
- # reagent (6)
- # ring (7)
- # specter (1)
- # untangled (119)
- # yada (38)
oops sorry
i just upgraded to react 1.5 and now I'm getting "react.inc.js:19500 Warning: flattenChildren(...): Encountered two children with the same key, 2:$undefined
. Child keys must be unique; when two children share a key, only the first child will be used."
@octo221: you need to set react-key
on the factory you’re calling
yeh got it, provide {:key :key}
to (build-all
oh you’re using Om Now
old Om yes
is there a guide somewhere to how to upgrade to Om Next and what's changed ?
@octo221: its very very different, best to start with some of the talks david nolen gave about it
@isak: is there nothing written about it ? I prefer text it's faster
@octo221: well there is this: https://github.com/omcljs/om/wiki/Quick-Start-(om.next)
also a tutorial here: https://github.com/awkay/om-tutorial
cheers...is Om Next relatively stable to use ?
@octo221: there’s a blog series i recently started on building a mobile game using Om.next: https://medium.com/@markfayngersh/connect-lets-build-a-game-37620df1ddf7#.3uh4kt71c
@peeja I would be interested in that - been trial and error to figure how to make ui trees with proper query/path/ident
om/process-roots
doesn't seem to support recursive queries. Specifically, move-roots
assumes join map values will be a seq. Is this a known issue? I don't see an issue for this.
@cmcfarlen: process-roots
also does not support unions. I recommend not using it and writing your own custom version for that use case so you have more flexibility around how queries are re-written.