News for hackers. Stuff that matters.
Re:Ask HN: Anybody Using Htmx on the Job? by halfcat on Saturday March 30, 2024 @01:31PM (#39876803)
Part of the challenge of a reference implementation is that HTMX works with every backend. The Hypermedia Systems book [1] has a reference implementation in Flask (Python), but that’s less helpful if you’re in a very different ecosystem.

I think what’s needed is a sort of, repository of patterns. The main criticism of HTMX is it turns into spaghetti if not well structured. But that is also true of React and needing backend API endpoints well organized, and avoiding React hook-hell. And React has established those robust patterns of usage.

[1] https://hypermedia.systems/

Re:Ask HN: Anybody Using Htmx on the Job? by runoisenze on Saturday March 30, 2024 @02:13PM (#39877208)
> I think what’s needed is a sort of, repository of patterns.

Agreed. I was thinking about a reference application to demonstrate those patterns.

Re:Ask HN: Anybody Using Htmx on the Job? by runoisenze on Saturday March 30, 2024 @02:10PM (#39877179)
Thanks for the link! I’ll check it out.