Recent submissions

Comment · 3 months ago
Comment · 9 months ago
Comment · 9 months ago
Comment · 10 months ago
I took that idea and made it actually usable.

https://github.com/jon49/htmz-be

It's amazing how much further you can go when you flip the server as the one deciding where what should be updated on the page.

This was originally conceived by datastar and nomini also implements it this way. And HTMX 4.0 will have this as a first class citizen.

Comment · 10 months ago
Comment · 10 months ago
There's also htmz-be, nomini.js. Depending on your complexity needs.
Comment · 10 months ago
This exactly. React is spaghetti code with the reducers. Using API end points to fetch HTML makes it super simple to see what is going on.
Comment · 10 months ago
fixi.js, nomini.js, data-star, htmz-be. All have smaller footprints. All work just fine, depending on your needs.
Comment · 10 months ago
Comment · 10 months ago
Comment · 11 months ago
This is a offline-first PWA app where I serve the back end from a service worker using JS template literals to stream HTML. This uses a variant of HTMZ to increase the interactivity of the app along with Morphdom for DOM diffing.
Comment · 11 months ago
Comment · 1 year ago
Comment · 1 year ago
With highly dynamic page where you would normally start using a front end lib, Idiomorph makes it so you can stick with the hypermedia approach instead.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton