re-view
re-view copied to clipboard
Tools for building reactive user interfaces in ClojureScript.
Re-View
Re-View is a library for building React apps in ClojureScript. It's a beginner-friendly tool that is also suitable for demanding, production-grade apps.
Website: https://re-view.io
Objectives
- Readable code
- Precise and transparent reactivity/dataflow
- Convenient access to React lifecycle methods - do not try to hide the React component model
- A smooth 'upgrade continuum': simple components are extremely simple to create, while 'advanced' components are created by progressively adding information to simple components (no need to switch paradigms along the way)
Motivation
Existing tools in the ClojureScript ecosystem, although excellent for their respective use cases, were found to be either too magical or too verbose for my particular needs. Re-View was originally "programmed in anger" (but with lotsa love) during the development of a reactive-dataflow coding environment.
Getting started
Start by reading the website or the quickstart.
For the impatient, build an example app using our lein template:
lein new re-view my-example-app;
cd my-example-app;
lein figwheel;
;; open browser window to http://localhost:5300
What's in this repo?
core + utilities
- /re_view, the main thing you will use -- a ClojureScript view library built on top of React
reusable components
-
/re_view_material, implementations of Google's Material Design components
-
/re_view_prosemirror, wrapper around ProseMirror
docs & examples
-
/website, the source code for https://re-view.io
-
/docs, the docs that re-view.io reads from