Get the latest tech news

HTML over WebSockets: real-time SPAs with barely any JavaScript


Building a SPA (Single-page Application) is a complex puzzle: a JavaScript framework that draws the view, an API serving JSON, and 2 independent…

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of javascript

javascript

Photo of HTML

HTML

Photo of websockets

websockets

Related news:

News photo

You might want to build your WebApp in Canvas instead of HTML

News photo

Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

News photo

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy