https://github.com/controlroom/show
Minimal React.js ClojureScript wrapper
https://github.com/controlroom/show
clojure react
Last synced: 3 months ago
JSON representation
Minimal React.js ClojureScript wrapper
- Host: GitHub
- URL: https://github.com/controlroom/show
- Owner: controlroom
- License: epl-1.0
- Created: 2014-05-24T08:56:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-06T14:38:04.000Z (over 7 years ago)
- Last Synced: 2025-07-03T11:11:28.704Z (7 months ago)
- Topics: clojure, react
- Language: Clojure
- Size: 184 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://clojars.org/controlroom/show) [](https://circleci.com/gh/controlroom/show)
**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
```clojure
(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.