Show is a minimal ClojureScript wrapper around React.js. Show operates under the idea that less is more.
This is still a proof of concept and is undergoing breaking changes
(ns simple
(:require
[show.core :as show]
[show.dom :as dom]))
(show/defcomponent App [component]
(render [props state]
(dom/h1 (:heading props)))
(show/render-to-dom
(App {:heading "App"})
(.getElementById js/document "app"))
Copyright © 2018 controlroom.io
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.