Email or username:

Password:

Forgot your password?
5 comments
LisPi

@dcoderlt @yogthos The funny thing is, as far as I'm aware, the actual answer to that in HTML is simply frames/framesets/iframes.

Periodic reload also works in iframe documents (en.wikipedia.org/wiki/Meta_ref), no need for messing around with headers for specific paths & whatnot (or Javascript).

And while those don't necessarily play well with accessibility, unlike bespoke Javascript nightmares, they're standard features so work to improve support can be done reliably.

Yogthos

@lispi314 @dcoderlt I've been using htmx recently, and I find it works extremely well. You have a minimal amount of js on the frontend to handle patching HTML elements, and then you just send parts of the page you want to rerender from the server.

htmx.org/

LisPi

@yogthos @dcoderlt It's certainly an improvement over the heavy frameworks, but the "progressive enhancement" doesn't seem baked into all of its features, so accidentally creating stuff that doesn't degrade gracefully with Javascript disabled seems likely.

Yogthos

@lispi314 @dcoderlt yeah that's a potential problem for sure

Go Up