This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-20
Channels
- # aws (7)
- # bangalore-clj (2)
- # beginners (64)
- # boot (34)
- # cider (1)
- # cljs-dev (8)
- # cljsrn (22)
- # clojure (268)
- # clojure-greece (2)
- # clojure-italy (8)
- # clojure-quebec (1)
- # clojure-russia (5)
- # clojure-spec (7)
- # clojurescript (7)
- # consulting (1)
- # cursive (184)
- # data-science (1)
- # datascript (18)
- # datomic (54)
- # dirac (1)
- # emacs (17)
- # graphql (1)
- # klipse (2)
- # leiningen (1)
- # off-topic (17)
- # onyx (10)
- # pedestal (2)
- # reagent (16)
- # spacemacs (4)
- # untangled (3)
- # vim (28)
- # yada (3)
Can someone give me the rough pro/cons between using r/adapt-react-class
and using the [:> ReactComponent
syntax? I’ve been using the latter mostly out of laziness, but I recently took over @tiensonqin’s exponent-cljs-template
and I want to make sure I’m making sound decisions going forward.
And which one is more idiomatic?
I use adapt-react-class only bc it is easier for people to google / read .. i find a lot of people squint when they see :>
and wonder what it is their first time seeing it ... but i dont know which is considered idiomatic unfortunately
yeah. I think you’re right.
I like how it’s clear that you’re using a native react component. But I should support whatever new devs are likely to find easier.
Thanks.