live-paint (https://paint.liveviews.cc/) is a demonstration of ts-liveview v2-rc3. The server converts JSX expression into plain HTML response. The UI is then updated via websocket.<p>As opposite to React.js. The DOM updates are fired from server, and instructed with query selector (no virtual DOM). Hence, the amount of javascript downloaded and executed by client are minimal (or even optional for static web pages).
And it's open sourced on <a href="https://github.com/beenotung/live-paint" rel="nofollow">https://github.com/beenotung/live-paint</a>
Beside shipping less javascript to the client side, another benefit to run most logics on the server is cross-browser-update becomes as simple as cross-component-update.