3 ms·
>[:p "Sentence with period after " [:a {:href "#"} "a link"] "."] Isn't that Hiccup and not Clojure Script?
by croes 3y ago
>[:p "Sentence with period after " [:a {:href "#"} "a link"] "."]
Isn't that Hiccup and not Clojure Script?
- jetti 3y agoIt is Clojurescript. It is just a vector that contains a keyword, map and string. The Hiccup library would convert that to HTML but at the end of the day, it is all Clojure(Script) data structures.
- ARandomerDude 3y agoYes, but the Hiccup library works with both Clojure and ClojureScript. Edit: I guess it’s the Hiccups port that works for Cljs. Either way hiccup notation is standard for both.