4 ms·
Isn't this just HATEOAS as espoused by libraries like htmx, datastar, hotwire etc. https://htmx.org/essays/hateoas/ https://htmx.org/essays/hateoas/
by meander_water 6mo ago
Isn't this just HATEOAS as espoused by libraries like htmx, datastar, hotwire etc.
https://htmx.org/essays/hateoas/ https://htmx.org/essays/hateoas/
- sheept 6mo agoNo, 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.
- regularfry 6mo agoHATEOAS does not require interacting with an API.
- nchmy 6mo agoAs the article in the comment you are replying to makes very clear, this couldn't be more wrong
- nchmy 6mo agoWhen 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.