Liking cljdoc? Tell your friends :D

Web MX

Web/MX: Web programming powered by the Matrix state manager.

Clojars Project

Overview

Optimally efficient, fine grained, truly reactive DOM programming in CLJS, without React, without virtual dom, without a separate store.This new, hands-on introduction will explain the vital "why" behind these fundamental architectural differences. It is strongly recommended to newcomers and tire-kickers.

Related work: Javascript/MX 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.

Just Run It

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 ticktock --repl

After a minute or so the ticktock example should appear in your browser at http://localhost:9500/ticktock.html, leaving a CLJS REPL in the original terminal.

Other examples, besides ticktock, are todomvc and rxtrak.

Other Working Examples

The classic, TodoMVC with some tutorial doc.

rxTrak takes TodoMVC to a new level by incorporating an AJAX lookup of each "to-do", now rX prescription, on the FDA Drug database looking adverse events with that drug.

A full Web/MX "Who's Hiring?" app

And of course the training guide is full of smaller working examples (but needs updating).

License

Copyright © 2016 Kenneth Tilton

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

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close