This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-18
Channels
- # announcements (5)
- # aws (4)
- # babashka (30)
- # beginners (90)
- # calva (31)
- # clj-on-windows (16)
- # clojure (110)
- # clojure-dev (10)
- # clojure-europe (26)
- # clojure-nl (1)
- # clojure-norway (20)
- # clojure-spec (25)
- # clojure-uk (15)
- # clojured (2)
- # clojurescript (12)
- # code-reviews (2)
- # community-development (3)
- # conjure (14)
- # datomic (15)
- # defnpodcast (2)
- # events (1)
- # fulcro (17)
- # graalvm (8)
- # gratitude (1)
- # introduce-yourself (2)
- # jobs-discuss (7)
- # kaocha (6)
- # lsp (9)
- # luminus (5)
- # nextjournal (7)
- # observability (9)
- # off-topic (71)
- # portal (5)
- # practicalli (1)
- # rdf (21)
- # re-frame (15)
- # releases (1)
- # shadow-cljs (24)
- # testing (7)
- # tools-build (13)
- # tools-deps (14)
- # xtdb (7)
Hey, how does one handle changing hover styling with material-ui?
same way as in javascript - either using component state with mouseover etc handlers, or use css :hover pseudo-class
Could you give an example of using the :hover pseudo-class using Reagent?
Pseudo-classes are not Reagent-specific but it's something you can use in Material UI. Here's a link that describes them in general, using plain CSS: https://mui.com/customization/how-to-customize/#state-classes And here's a link on how to use some CSS approach with MUI: https://mui.com/guides/interoperability/ MUI itself uses Emotion, so it would make more sense to either go with that or with plain CSS. Also, just in case - since version 5 it's called MUI, not Material UI. If you need version 4 that was called Material UI, then you need different docs. But they're available on the same website - there's a version switch in the top left corner.
Thanks. Still on v4.
My project has a transitive dependency on an npm module from a local clojurescript project. Is their a recommended approach for dealing with this (should I just compile the local clojurescript project to js? Or can I have my project resolve the dependencies npm modules itself).
@chesslunatic create a deps.cljs
file at the top level of this other ClojureScript project - in there declare {:npm-deps ...}