This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-13
Channels
- # aleph (5)
- # beginners (92)
- # cider (37)
- # cljs-dev (38)
- # cljsjs (2)
- # cljsrn (3)
- # clojure (50)
- # clojure-berlin (1)
- # clojure-canada (3)
- # clojure-dusseldorf (4)
- # clojure-france (1)
- # clojure-germany (1)
- # clojure-italy (7)
- # clojure-nl (21)
- # clojure-spec (2)
- # clojure-uk (106)
- # clojurescript (165)
- # code-reviews (1)
- # community-development (3)
- # cursive (5)
- # datomic (13)
- # editors (12)
- # emacs (3)
- # figwheel-main (141)
- # fulcro (28)
- # graphql (1)
- # immutant (1)
- # jobs (1)
- # jobs-discuss (5)
- # midje (8)
- # nrepl (3)
- # off-topic (28)
- # onyx (4)
- # re-frame (21)
- # reagent (70)
- # ring (2)
- # ring-swagger (9)
- # shadow-cljs (18)
- # spacemacs (6)
- # specter (23)
- # tools-deps (21)
Nearly full support for all new React 16.4 features. Only one missing: The new static lifecycle method getDerivedStateFromProps
…that one is going to take some tinkering to get it to pass through the macros ok.
@tony.kay nice! hey, I think we should also add fragments to this version before release
it already supports returning arrays of things from render, which is essentially fragment
cool, just got home, gonna give a try to the RC and see if everything goes smooth
give a round across many different components, didn't find any issues so far 🙂
all the previous issues I found are gone
about the fragments, so you are saying that if I'm using React 16, I can return a vector from the render function, and that is the same as returning a fragment?
2.6.0-RC2 released with support for React fragments and returning vectors of children from defsc
@wilkerlucio so it turned out I didn’t realize the spec for defsc would not allow a vector. Fixed that..hopefully that does not cause any defsc problems. fragment
is now part of all dom namespaces.
@tony.kay nice, but I think frament
is more primitives
thing than a dom
thing
considering that fragments
will work in RN or other React environments, its not a DOM specific thing
feel free to patch and PR as long as it’s tested in the envs it is intended to work.
ok, I think I'll have some time for that later
thx. Did you think fragment would just work in native (e.g. createElement React.Fragment)?
I think so, considering its from the React package, not from ReactDOM