This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-05
Channels
- # announcements (7)
- # beginners (107)
- # boot (5)
- # calva (2)
- # cider (18)
- # clj-kondo (48)
- # cljs-dev (16)
- # cljsrn (2)
- # clojure (208)
- # clojure-berlin (1)
- # clojure-dev (25)
- # clojure-europe (14)
- # clojure-italy (10)
- # clojure-nl (10)
- # clojure-sg (1)
- # clojure-spec (52)
- # clojure-uk (13)
- # clojurescript (53)
- # cursive (7)
- # data-science (7)
- # datomic (4)
- # duct (1)
- # events (10)
- # fulcro (1)
- # graphql (5)
- # jobs (2)
- # kaocha (13)
- # leiningen (6)
- # off-topic (17)
- # pathom (4)
- # quil (6)
- # re-frame (52)
- # reagent (12)
- # reitit (3)
- # shadow-cljs (97)
- # spacemacs (10)
- # sql (39)
- # tools-deps (18)
- # uncomplicate (1)
- # xtdb (1)
You have a lot of choice. Bulma is javascript-free, ant design with https://gitlab.com/synqrinus/syn-antd, styled component (check https://www.jacekschae.com/learn-re-frame-free)
All the JS component libraries are going to be quite heavy as you don't get dead code elimination for JS libs. My choice is usually to just implement all the components in Cljs and style with SASS/LESS.
Bulma seems like OK CSS framework if you don't want to start from scratch
My issue is when you start to mix some package requiring CSS
You then get some annoying dependencies
Looks like the package.json in Reagent's repo has 16.9 so assuming that means it's compatible! https://github.com/reagent-project/reagent/blob/3b10c426c1003ba9bc93e8c1e3c3d13a73158cec/package.json#L6-L7
Yeah, youโre good ๐
Hello, how to set static properties in reagent component/class, like the one used in React Navigation to configure header foer example called navigationOptions
?
You could use the 3rd form and use local state.