Web/MX™: ClojureScript Web programming powered by the Matrix state manager.
Web/MX thinly wraps HTML with a functional API, plus fine-grained reactivity, coded declaratively and transparently, without boilerplate.
If you are just looking around, here is an in-depth yet succinct "quick start". It is strongly recommended to newcomers and tire-kickers.
Related work: Web/JX drives this AskHN "Who's Hiring?" browser. Work on React/MX and RN/MX has reached POC, but we have shifted focus to Flutter/MX.
Web/MX is a library, but can also be run as a Web app to try examples.
To run the current example, just:
git clone https://github.com/kennytilton/web-mx.git
cd web-mx
clojure -M -m figwheel.main --build intro-clock --repl
After a minute or so the quick-start
example should appear in your browser at http://localhost:9500/intro-clock.html
, leaving a CLJS REPL in the original terminal.
More working examples, including two versions of the TodoMVC classic can be found in the Web/MX Sampler. See also the CLJS version of the aforementioned AskHN Who's Hiring browser.
The Web/MX Workshop project takes a more in-depth, real-world approach to demonstrating Web/MX programming.
Visit the #matrix channel on the Clojurians Slack for help.
Copyright © 2016 Kenneth Tilton
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.