This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-17
Channels
- # arachne (1)
- # beginners (42)
- # boot (4)
- # cider (28)
- # clara (9)
- # cljs-dev (149)
- # cljsrn (5)
- # clojure (185)
- # clojure-austin (2)
- # clojure-dusseldorf (4)
- # clojure-italy (14)
- # clojure-norway (1)
- # clojure-russia (18)
- # clojure-spec (35)
- # clojure-uk (36)
- # clojurescript (78)
- # core-async (6)
- # data-science (20)
- # datomic (48)
- # emacs (1)
- # fulcro (2)
- # garden (4)
- # hoplon (47)
- # jobs (5)
- # jobs-rus (1)
- # leiningen (2)
- # lumo (12)
- # off-topic (8)
- # om (8)
- # onyx (39)
- # parinfer (19)
- # re-frame (100)
- # reagent (15)
- # ring-swagger (1)
- # sql (8)
- # vim (1)
- # yada (20)
hi! anyone using reagent and spec together? Eg how do you spec functions that are expecting ratoms containing data of a certain shape?
Hi! I’m wondering if anyone could explain to me how I might able to use non-standard HTML attributes in Reagent -- for example, if I have [:div {my-thing "foo: bar;"}]
Reagent strips that to <div mything="foo: bar;></div>
with no dash 😕
I had this problem too. Solved the problem by changing the name But sure, i think that it's a bug (or at least, undocumented)
@U27QC0YPN it looks like react is not supporting unknown props: https://facebook.github.io/react/warnings/unknown-prop.html
@U27QC0YPN I've tried your example but props didn't appear in the html. I just received the warning in developer console sending me to the link. I also tried {:data-my-thing}
which worked.
@U27QC0YPN, but why no colon here? Why not [:div {:my-thing "foo: bar;"}]
?
@scknkkrer I think you want the re-frame
channel?
Although maybe not. It's been a while since I used vanilla reagent