Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I liked the article a lot, thanks to the author for writing it and sharing it.

At that point, personally I think it'd be easier to use Preact with a no-build workflow for those bits of the app that have a lot of contained logic themselves, and don't necessarily require a round-trip to the server.

I wouldn't use HTMX for that specific use case.



I've been building a largish webapp with htmx and I've leaned into web components for these more complicated interactions. I've found htmx great for everything that _should_ involve a call to the backend, anything that does need to fetch data or perform some crud operations, then i can return the necessary markup with oob swaps etc. and mostly forget about client side state

But yeah it's great to see people sharing their approaches!


Sounds like an interesting use! Did you write about it anywhere? Or have a repo we could look at?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: