Datastar

Lightweight hypermedia JavaScript framework that drives frontend reactivity with server-sent events.

Loved for keeping app state on the server and pushing updates over SSE,123 for running from a single script include with no build step,45 and for handling highly interactive UIs where htmx hit its limits.67 Complaints are rare; one newcomer questions what it adds over vanilla JS.8
The HN verdict, written from 8 cited comments
12recommend
0warn against
Nov 3, 2025first mention
Oct 24, 2026latest mention
Nov 25 – Oct 26
Used forhtmx alternativefor Clojure developersfor Go developersfor Lisp developersfor moving off Reactclojure webappsfrontend interactivity without build step

Why people recommend it

Server-driven SSE · 3

Commenters like keeping state on the server and pushing updates to the browser over SSE, which they say simplifies apps.

“I now much prefer to have it all on the server-side and I simplified everything by using SSE / datastar”

Clojure webapp developerswitched from re-frameon “Jank – The native Clojure dialect with seamless C++ …”

“I’ve compared Datastar and HTMX and decided on Datastar.”

Show 1 more

“Full ack that calling it a "simplification would be a gross understatement".”

Beyond htmx · 3

Several call it htmx-like but more capable, with built-in DOM morphing that removes friction they hit with htmx.

“So we tried datastar, and it basically addressed all the friction points we had”

team building highly interactive 3D visualization UIswitched from htmxon “Let's Make the Worst Htmx”

“You might be interested in Datastar [1], which is like htmx but centered around Server-Sent Events.”

Show 1 more

“Folks really ought to check out Datastar. It's a newish js framework that is extremely innovative”

Backend agnostic · 3

Users pair it with Clojure, Go and Templ, Common Lisp and Lua backends.

“Datastar + Templ + Go is a highly effective combination.”

“HTMX or Datastar are great fit for Lisp”

Show 1 more

“I now much prefer to have it all on the server-side and I simplified everything by using SSE / datastar”

Clojure webapp developerswitched from re-frameon “Jank – The native Clojure dialect with seamless C++ …”

No build step · 3

A single script include replaces NPM dependencies and JS build tooling.

“Slap a datastar script tag in there for everything else. It’s just easy peasy.”

“At work we've switched to DataStar (a single JS include) and coupled that with ClojureScript/GCL”

Show 1 more

“Folks really ought to check out Datastar. It's a newish js framework that is extremely innovative”

Small, fast pages · 2

Users report tiny bundles and much faster loads, including a 20KB first page load after moving off React.

“We recently rewrote a half-million LOC codebase from react to datastar”

rewrote half-million LOC codebase for medical deviceswitched from Reacton “Let's Make the Worst Htmx”

“At work we've switched to DataStar (a single JS include) and coupled that with ClojureScript/GCL”

Caveats and dissent

Unclear value · 1

One newcomer is unsure what it offers over vanilla JS or how it compares to Solid and Svelte.

“I'm getting confused about what these light frameworks/libraries are doing that I need over vanilla js.”

Often compared with

Who recommends it in their own words

All comments 17

“I now much prefer to have it all on the server-side and I simplified everything by using SSE / datastar”

Clojure webapp developerswitched from re-frameon “Jank – The native Clojure dialect with seamless C++ …”

“Slap a datastar script tag in there for everything else. It’s just easy peasy.”

“Combining it with Datastar could be brilliant”

“I follow hypermedia.systems and htmx/datastar/alpine.js because I'm still trying to get back that powerful _web_ tech advancement”

“Datastar + Templ + Go is a highly effective combination.”

“You might be interested in Datastar [1], which is like htmx but centered around Server-Sent Events.”

“I'm getting confused about what these light frameworks/libraries are doing that I need over vanilla js.”

“So we tried datastar, and it basically addressed all the friction points we had”

team building highly interactive 3D visualization UIswitched from htmxon “Let's Make the Worst Htmx”

“We recently rewrote a half-million LOC codebase from react to datastar”

rewrote half-million LOC codebase for medical deviceswitched from Reacton “Let's Make the Worst Htmx”

“Full ack that calling it a "simplification would be a gross understatement".”

“At work we've switched to DataStar (a single JS include) and coupled that with ClojureScript/GCL”

“HTMX or Datastar are great fit for Lisp”

“I encourage you to also to take a look at this https://data-star.dev/”

“Similar to another web project that I’m fond of, Datastar.”

“Folks really ought to check out Datastar. It's a newish js framework that is extremely innovative”

“I’ve compared Datastar and HTMX and decided on Datastar.”

Threads where it came up

Also written as DataStar. Data: datastar.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.

Keyboard shortcuts
j / kNext / previous item
o or EnterOpen selected item
/Search
g hHome
g tTop
g rRising
g cCategories
tToggle dark mode
?This help