News for hackers. Stuff that matters.
Re:Htmx is part of the GitHub Accelerator by buro9 on Wednesday August 16, 2023 @09:07AM (#37146481)
The site and it's examples do not work with JavaScript disabled.

This is a regression on graceful degradation.

Re:Htmx is part of the GitHub Accelerator by throwaway154 on Wednesday August 16, 2023 @09:48AM (#37146954)
That's a shame, and bad use of htmx, these examples shouldn't be showcase examples.

It takes careful but not extraordinate thinking to think of ways to get consistent results with or without JavaScript turned on. Indeed, when a visitor hits a site for the first time they get the full response so everything for a graceful degradation should already be there to use. If I can figure it out, I'm sure big CS brains can.

Re:Htmx is part of the GitHub Accelerator by airtag on Wednesday August 16, 2023 @10:35AM (#37147712)
Yes but for your own projects you could have a first page with a "no JS" div and attach a HTMX load request. That's how I did my first HTMX project and it works well informing you to turn on JS.