Fork me on GitHub

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)


That's a nifty trick :)


Today I Learned there’s an HTML2Hiccup converter! :O