Better HN
topnewbestaskshowjobs
Log inSign up

rmcsharry

1 karma · joined Dec 10, 2018 (7y ago) · 3 submissions

Submissions

comment 1y ago · link · parent

Or it's new superset, Datastar! ;)

comment 1y ago · link · parent

You're right.

It was solved with Silverlight - declarative UIs in XAML. No CSS. Strongly typed C#. The downside was you needed to install the plugin.

So there are better ways than HTML/CSS/JS but we're stuck with them, because they are browser-native. WASM might rescue us!

I've at least managed to almost completely get rid of JS/SPA framework madness in the browser by going back to server rendered pages (adding reactivity where needed with datastar signals). Datastar is a breath of fresh air and might just make all SPA frameworks obsolete (just as they in turn killed jQuery).

comment 1y ago · link · parent

View transition API helps mitigate this.

But datastar (they just released v1 2 days ago) is even better.

MPA, server-rendered, but with client-side reactivity pushed from the server via SSE.

It's pretty impressive - better than HTMX imho.