This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-04
Channels
- # bangalore-clj (3)
- # beginners (23)
- # boot (89)
- # cider (11)
- # cljs-dev (22)
- # cljsjs (5)
- # cljsrn (21)
- # clojure (141)
- # clojure-android (1)
- # clojure-berlin (1)
- # clojure-greece (1)
- # clojure-italy (13)
- # clojure-mke (2)
- # clojure-nl (8)
- # clojure-norway (5)
- # clojure-russia (22)
- # clojure-sg (4)
- # clojure-spec (38)
- # clojure-uk (109)
- # clojurescript (150)
- # consulting (4)
- # core-async (7)
- # cursive (13)
- # datascript (8)
- # datomic (72)
- # dirac (185)
- # emacs (5)
- # figwheel (2)
- # flambo (1)
- # hoplon (13)
- # immutant (6)
- # lambdaisland (7)
- # lumo (46)
- # off-topic (13)
- # om (4)
- # onyx (1)
- # pedestal (1)
- # re-frame (68)
- # reagent (15)
- # rum (16)
- # slack-help (4)
- # spacemacs (22)
- # specter (3)
- # vim (10)
- # yada (28)
On @mikethompson there is a document.getElementById. I think that :ref is more "react/functional" approach
I’d like to test a fn that disposes of a reaction when it has no watches
, is there any way I can write that kind of test without mounting components in a browser?
Is there a preferred UI component library or should I care, or just do everything on my own with as much raw bootstrap as possible? Re-com, baking-soda (reactstrap), cljs-react-material-ui… I don’t know what to pick, and I want something that’s low-maintenance going forward that’ll be good to go when things get updated…
personally I'd go with just raw Bootstrap
unless you need some of the "dynamic" bits, like modals (?) and dropdowns
wrappers add a layer of "things that can go wrong", and bootstrap is easy to use from reagent (and well documents)
True, true. I suppose I can just do the right thing and just make my own “modal” wrapper for when I need it and all that…
I figure that’s the wisest choice, but I’d love a UI component library that everyone loves :P wishful thinking. Thanks. ‘Spose I just needed someone to say it.
@jtth i have used all of the ones you've mentioned. I probably like the look of cljs-react-material-ui the best, but it will increase the size of your application a lot (so if size matters, it isnt the best choice) and also it becomes the controller of your react version. I think bootstrap is starting to look dated, but the components are easy to use. Re-com is nice and looks pretty good. With semantic ui, youre able to individually add certain components via cdn which is a nice way to keel size down.
Personally tho, i lean toward using garden and writing css from scratch over a component library. I have probably used material-ui one the most tho
re-com is nice but the last time I used it I ran into some imitations, and then after a while dropped back into pure hiccup+bootstrap
which turned out to be about the same amount of code, but with better docs (Bootstrap's example markup can be fed into a html2hiccup converter really easily)