This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-18
Channels
- # aws (3)
- # beginners (18)
- # boot (3)
- # cider (47)
- # clara (54)
- # cljs-dev (62)
- # clojure (104)
- # clojure-berlin (1)
- # clojure-denver (1)
- # clojure-italy (1)
- # clojure-nl (22)
- # clojure-russia (30)
- # clojure-spec (28)
- # clojure-uk (95)
- # clojurescript (31)
- # cloverage (1)
- # cursive (1)
- # datomic (17)
- # duct (4)
- # emacs (27)
- # fulcro (36)
- # graphql (1)
- # hoplon (1)
- # jobs-discuss (1)
- # lein-figwheel (1)
- # lumo (2)
- # off-topic (44)
- # om-next (5)
- # onyx (29)
- # precept (1)
- # re-frame (8)
- # reagent (7)
- # ring (1)
- # ring-swagger (2)
- # schema (4)
- # shadow-cljs (185)
- # spacemacs (21)
- # specter (59)
- # tools-deps (7)
- # vim (15)
- # yada (1)
I get an error in ns reagent.dom
about react-dom
being undefined. I see that react-dom
is required like this: [react-dom :as react-dom]
, which as far as I understand requires the :global-exports
feature. But I don't see this being used in Reagent's project.clj
?
I am trying to set a callback ref
with reagent. see https://reactjs.org/docs/refs-and-the-dom.html#callback-refs The component I am setting it in is a form 3. Is there an example of an equivalent version of this for Reagent?
haha just saw this https://gist.github.com/pesterhazy/4d9df2edc303e5706d547aeabe0e17e1
@tkjone Also ^^^
Be sure to look for info in reagent's /docs