logoalt Hacker News

meander_watertoday at 7:11 AM2 repliesview on HN

Isn't this just HATEOAS as espoused by libraries like htmx, datastar, hotwire etc.

https://htmx.org/essays/hateoas/


Replies

nchmytoday at 11:59 AM

When I first saw the title, I thought "great! Someone else has (re)discovered hypermedia".

But they have gone in a completely bewildering direction. Rather than swap/morph html fragments in, they're doing full page navigations and using view transitions to make it look smooth.

Worse, they are manipulating the history to cover these blasphemous tracks.

Datastar would make this particularly simple - just include whatever menu/nav stuff that you need and show/hide/toggle it with a few signals/attributes.

sheepttoday at 7:15 AM

No, they're not related. The submission's article is about CSS view transitions. HATEOAS seems to involve interacting with an API, but linking between pages on a blog does not require this.

show 2 replies