rum

Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript | 0.12.8 https://github.com/tonsky/rum/blob/gh-pages/CHANGELOG.md#0128
sparkofreason 2018-02-01T17:20:06.000257Z

Seems like the reader-tag idea explored here should make the hiccup renderer pluggable: http://tonsky.me/blog/hiccup/

rauh 2018-02-01T17:43:32.000370Z

I don't think you can ship a library with data_readers.clj file, so this would need to be setup by users. I don't dislike the reader tag, it's a neat idea. You could easily hook up hicada/sablono to it.

rauh 2018-02-01T17:44:56.000333Z

Oh wait, I'm wrong. It looks like cljs compiler properly gets all the data_readers.cljc files from the JVM resources...

rauh 2018-02-01T17:45:08.000103Z

So that would be possible then.

misha 2018-02-01T19:00:03.000382Z

the downside of reader tags here is – html/xml is probably the most verbose thing in clojure dev stack, and even with such short ns name like rum – it will probably suck to read/write it. :harold:

1👏
rauh 2018-02-01T20:16:09.000568Z

I agree, especially if every single react element is tagged. I think the Quote: "Also: what if a new release of the compiler changes the formula and somewhere deep inside your app some rarely-seen dialogue will silently stop working? Seems like a time bomb waiting to explode." could probably be relatively simple detect/warned at build time, if a :span, :div (etc) keyword makes it into the build. I'm personally not too worried about this, but I can see how it could silently lead to runtime errors that remain undetected if you don't test components.