r/Clojure • • Jan 26 '18

Qlkit, a new open source Clojure/ClojureScript web framework based on graph queries

https://medium.com/@conrad_9565/lets-build-a-ui-with-qlkit-and-graph-queries-79b7b118ddac
73 Upvotes

12 comments sorted by

View all comments

Show parent comments

1

u/drcode Jan 26 '18

I contrast qlkit from OmNext in the wiki (https://github.com/forward-blockchain/qlkit/wiki) but in places where fulcro deviates from OmNext I wouldn't be able to answer that until I study fulcro more.

1

u/TheLastSock Jan 26 '18

fair enough. Im glad there are so many great options. Thank you for your contributions!

1

u/drcode Jan 27 '18

Looking at css-fulcro, I'm not sure I like the extra complexity cost of that approach... qlkit-renderer already has CSS sugar (so you can write [:span {:color :red} "Hello"] instead of [:span {:style {:color "red"} "Hello"]) and there's nothing to stop you from "colocating the CSS" by simply using inline CSS. I would have to hear more arguments on the benefits of this approach.

Also: since the code of qlkit is very simple it would be very easy to fork the library and add this feature, if it's critical to your use case.

3

u/redmorph Jan 27 '18

more arguments on the benefits of this approach

CSS features like media queries are not possible with inlined css.

very easy to fork the library and add this feature

Probably better to adjust design to allow features without forking in the long run.

1

u/drcode Jan 28 '18

good points, I'll have to think over them.