org.clojars.mhuebert/re-view

Tiny React wrapper


Keywords
clojurescript, dataflow, react
License
MIT

Documentation

Re-View

badge

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

reusable components

docs & examples