announcements

Project/library announcements ONLY - use threaded replies for discussions. Do not cross post here from other channels. Consider #events or #news-and-articles for other announcements.
Karol Wójcik 2020-09-06T11:28:09.174800Z

First release of cljss-react-jss v0.0.1: https://github.com/FieryCod/cljs-react-jss Library provides interop between css-in-cljs & react-jss. For now only Higher Order Components API is supported. SSR & regular client side styles generation works fine Example: https://github.com/FieryCod/cljs-react-jss/blob/master/src/dev/css_cljs/repl/rum.cljs Feedback welcome :)

4🎉
Lucy Wang 2020-09-08T01:01:49.185600Z

How does it compare to https://github.com/khmelevskii/emotion-cljs ? I took a brief look and it looks like cljs-react-jss supports reagent component, but emotion-cljs only supports react components defined in js (e.g. material-ui). Cool!

Karol Wójcik 2020-09-08T05:15:29.196100Z

@wxitb2017 Don’t know much about emotion-cljs. My motivation was to have fully working solution for both SSR on Node server and client side css generation. I wanted it to be as thin layer as only possible so I could transfer all the hard stuff on peeps from react-jss which is mature enough library. Therefore css-in-cljs is like react-jss but for cljs. HoC API is fully supported and it should work just fine. On the other hand there is still hook API to be implemented which is kinda experimental thing for Reagent, so I resist to implement it now.

1👍