This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-13
Channels
- # announcements (1)
- # beginners (155)
- # calva (104)
- # cider (7)
- # clj-kondo (55)
- # cljdoc (2)
- # cljs-dev (19)
- # cljsrn (22)
- # clojure (230)
- # clojure-europe (1)
- # clojure-italy (15)
- # clojure-losangeles (8)
- # clojure-nl (11)
- # clojure-spec (20)
- # clojure-uk (30)
- # clojurescript (10)
- # code-reviews (32)
- # cursive (2)
- # data-science (6)
- # datascript (3)
- # datomic (141)
- # fulcro (1)
- # graphql (6)
- # jobs-discuss (19)
- # luminus (8)
- # off-topic (30)
- # pathom (2)
- # protorepl (8)
- # reagent (15)
- # reitit (3)
- # shadow-cljs (11)
- # tools-deps (1)
- # xtdb (8)
How can I get a reference to a component created with (r/adapt-react-class)
?
getting ref doesn't seem to work
I'm trying to do (r/set-state this new-state)
in a function passed into the props of the component but I can't figure out how to access this
@lilactown Nah that doesn't work in any functions I pass into the props of a third party component.
What is purpose of :<>
in the reagent?
So you can do something like this:
[:<>
[:div]
[:div]
]
Without surrounding the 2 :div
s with a dom elementWhat would it return?
A common pattern in React is for a component to return multiple elements. Fragments let you group a list of children without adding extra nodes to the DOM.
Thanks.
Is there any similar library to Antizer for Ant Design Mobile?