Liking cljdoc? Tell your friends :D


hiccup/sablono for Om Next.

Now that Om Next supports server-side rendering, this gives client+server rendering for free.


(:require [om-html.html :as html])

(defui Page
  (render [this]
      [:h1 "Hello World"])))
  • (html/html) is a function that returns calls to om.dom/<element>. It works in both .clj and .cljs.
  • All the standard hiccup/sablono syntax is supported: [], implicit divs: [].

Server-Side Rendering

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close