Skip to content

controlroom/show

Repository files navigation

Clojars Project CircleCI

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

Simple usage

(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"))

License

Copyright © 2018 controlroom.io

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.