3 ms·
Show HN: Live-paint (powered by ts-liveview)
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.
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).
- aabbcc1241 5y agoAnd it's open sourced on https://github.com/beenotung/live-paint https://github.com/beenotung/live-paint
- aabbcc1241 5y agoBeside 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.