This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-20
Channels
- # adventofcode (38)
- # announcements (8)
- # aws (4)
- # babashka (131)
- # beginners (263)
- # calva (2)
- # clj-kondo (12)
- # cljdoc (12)
- # cljsrn (3)
- # clojure (122)
- # clojure-europe (3)
- # clojure-finland (2)
- # clojure-nl (13)
- # clojure-uk (80)
- # clojured (1)
- # clojuredesign-podcast (3)
- # clojurescript (78)
- # core-async (19)
- # cursive (19)
- # datomic (7)
- # duct (10)
- # events (1)
- # fulcro (7)
- # graalvm (12)
- # graphql (3)
- # juxt (4)
- # malli (10)
- # music (3)
- # nrepl (4)
- # off-topic (25)
- # pathom (4)
- # pedestal (1)
- # re-frame (78)
- # reagent (8)
- # shadow-cljs (91)
- # sql (8)
- # vim (3)
- # xtdb (2)
Hi, I have a more or less follow up error, which I don't know what to do about. I have the attached stacktrace and I call this function
(defn md-button []
[:> Button {:variant "outlined"
:color "secondary"
:on-click #(js/console.log "clicked")} "button"])
@U2FRKM4TW Don't you know more?
Nope, sorry. But I assume you got it sorted out given that you've found that StackOverflow post.
your error does not appear to be in the code you pasted, but probably in the Button
component
Rather in the usage of Button Material UI component.
Button is a Material-UI component included above threw
["@material-ui/core/Button" :default Button]
I found this https://stackoverflow.com/questions/57930690/failed-prop-type-forwardrefbutton-prop-type-component-is-invalid-warning which seems to be quite similar but the problem persist even after changes in package.json. My hypothesis is, that I somehow don not use the Material-UI component correctly.