This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-13
Channels
- # admin-announcements (48)
- # alda (1)
- # aws (24)
- # beginners (4)
- # boot (103)
- # cider (69)
- # clojure (111)
- # clojure-art (5)
- # clojure-dev (35)
- # clojure-greece (2)
- # clojure-nl (3)
- # clojure-russia (1)
- # clojure-shanghai (1)
- # clojurescript (220)
- # clojurescript-ios (1)
- # clojurewerkz (3)
- # community-development (3)
- # core-logic (5)
- # cursive (5)
- # datomic (24)
- # devcards (21)
- # editors (3)
- # funcool (1)
- # hoplon (20)
- # ldnclj (47)
- # ldnproclodo (1)
- # liberator (1)
- # off-topic (7)
- # om (21)
- # onyx (36)
- # reagent (1)
- # ring-swagger (2)
- # spacemacs (38)
- # yada (17)
at first I thought om/factory
was boilerplate, but it’s actually super sweet. We can provide :keyfn
and :validator
customization here.
this means all the manual inline react key stuff can just go away - and :validator
is just brand new - validate your props.
the other neat thing is that I went ahead and stole another page out of the Relay book which wins over Falcor - automatic normalization
new section under development - https://github.com/omcljs/om/wiki/Components,-Identity-&-Normalization
covers the remaining big ideas in Om Next, will try to get this wrapped up today or tomorrow
cool stuff. seems that an app with naming / design conventions could get a lot of that value in a very general way.
@nullptr: right part of the point is if the backend can deliver identities, great … if it can’t this is flexible enough to make it work still.
Om 1.0.0-alpha1 is out https://github.com/omcljs/om/wiki#om-next
will there be a example of integrating with traditional db like postgres? that will be very helpful.
hi guys, anyone can point me to a good guide or some documentation about how to write a reusable component in om? i’ll try to explain better, i need a component where i can put inside more component when i use it, see you usually use a component like this:
(om/build my-component {:data …})
what i’m trying to achieve is to put more dom elements in it, like this:
(om/build my-component {:data …} (dom/h1 {} “H1 here”))
thanks