Fork me on GitHub
#cljsrn
<
2018-04-08
>
mfikes03:04:13

Has there been any work towards trying to use keywords in re-frame Hiccup instead of adapted classes, as in:

(defn greeting []
  [:text "Hello"])
Here is a hack that does it: https://gist.github.com/mfikes/d6f5034b0676a49e5fb1429eb5ec565a

jeaye04:04:50

Would be nice, since view data could more easily be stored in edn and such then.

jeaye05:04:36

Looks great.

carocad09:04:26

https://clojurians.slack.com/archives/C0E1SN0NM/p1523138438000039 has anybody actually tried to go the opposite way on building? I mean make Js tooling compile Cljs files instead of us providing a single massive js file for metro to deal with?

carocad09:04:18

https://clojurians.slack.com/archives/C0E1SN0NM/p1523138279000038 I do get quite useful stacktraces on the RSOD with the expo template. The names are still mangled but it is much more readable than the defaults. For some weird reason that I still dont understand, the stacktraces on the RSOD are only good if Chrome debugging is also enabled :thinking_face: