This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-13
Channels
- # adventofcode (69)
- # announcements (1)
- # babashka (68)
- # beginners (37)
- # calva (3)
- # cider (4)
- # cljdoc (4)
- # cljsrn (1)
- # clojure (73)
- # clojure-europe (13)
- # clojure-nl (15)
- # clojure-switzerland (11)
- # clojure-uk (6)
- # clojurescript (14)
- # code-reviews (1)
- # conjure (1)
- # cryogen (3)
- # fulcro (32)
- # lambdaisland (8)
- # pathom (13)
- # reagent (6)
- # releases (1)
- # reveal (43)
- # shadow-cljs (9)
- # tools-deps (2)
- # vim (2)
Hello! I'm trying to use this react component https://medium.com/@isabellepino/package-for-react-carousel-31aac8b1f090
I've managed to import it via shadow-cljs, but when I actually use it. I get an error saying ypeError: Cannot call a class as a function
I'm calling it just as I've called other components.
[Carousel
[:div
[:img {:src ""}]]]
Replace [Carousel
with [:> Carousel
and wrap [:div ...]
with reagent.core/as-element
.
Has someone figured out how to make Material-UI TextAreaAutosize work with Reagent caret fix? Example project says FIXME what comes to that. https://github.com/reagent-project/reagent/blob/master/examples/material-ui/src/example/core.cljs#L46-L48 I thought I’d ask here before start digging into it myself..