Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Live-paint (powered by ts-liveview)
5 points by aabbcc1241 on Sept 19, 2021 | hide | past | favorite | 2 comments
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).





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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: