Top
Best
New

Posted by iNic 12/18/2025

Please just try HTMX(pleasejusttryhtmx.com)
616 points | 515 commentspage 7
rdtsc 12/18/2025|
> The ecosystem is why your node_modules folder is 2GB. The

And every months a few of those modules try to exfiltrate your credentials…

yawaramin 12/18/2025|
And execute commands remotely on your server, for example to install crypto miners...
JohnMunsch 12/21/2025||
False dichotomy. Your only options aren't HTMX or React/Vue/Svelte when web standards like custom elements have been here for years, are smaller, faster, and work with all your browsers (including the ones on your phone).
bob1029 12/18/2025||
The framework has been built into the browser for a while now.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guid...

g947o 12/21/2025|
I don't know what you actually mean, but very likely you are completely misguided.
magnio 12/18/2025||
For those wanting different colored pills, there are

https://justfuckingusereact.com

https://justfuckingusetailwind.com

https://www.justfuckinguserails.com

__MatrixMan__ 12/18/2025||
I liked the idea that htmx is good for those middle of the road cases where you're not doing anything fancy but I didn't end up using it very often though because if I'm not doing something fancy then I'm not going to ask my user to leave their terminal anyhow.
athrowaway3z 12/18/2025||
I'm a big fan of returning html instead of json when possible and I've been htmx curious for a bit.

With all the examples people keep using, I assumed it would be way smaller. 16kb minified is a lot.

Looking at the docs just now the core api seems reasonable, but it a lot larger than I'd assumed.

naasking 12/18/2025||
Look into DataStar and Alpine Ajax then, they're much smaller and more targeted.
recursivedoubts 12/18/2025|||
our minimalist version of htmx is fixi.js:

https://github.com/bigskysoftware/fixi

1181kb brotli'd (no minification)

yawaramin 12/18/2025||
I think you mean 1181b, not kb
recursivedoubts 12/18/2025||
whooops
nymanjon 12/24/2025|||
There's also htmz-be, nomini.js. Depending on your complexity needs.
moebrowne 12/19/2025|||
> 16kb minified is a lot

I'd bet that almost any site which isn't intentionally bare bones will have a lot more than 16KB of JS.

adamzwasserman 12/18/2025|||
Read DATAOS.software for an in depth analysis of bundle sizes and impact on performance.
yawaramin 12/18/2025||
It's much smaller than the final bundle size that most sites will end up loading.
amluto 12/19/2025||
The Demo 3 Live Search example has really nasty scroll jank issues. I’m guessing it’s caused by the results being inserted inline in the document (and thus redoing the layout of much of the page) instead of being placed in some sort of overlay.
throwaway613745 12/18/2025||
> Junior devs losing their minds over why useEffect runs twice

Oh now now, even senior devs do this too :)

danpalmer 12/18/2025||
I did. I found it to have quite a few problems with bugs, docs, and web page lifecycle.

I switched to Hotwire/Stimulus and found it to be a significantly better implementation of the same core concepts. I'd highly recommend checking them out.

knallfrosch 12/18/2025|
> Or are you building another dashboard, another admin panel, another e-commerce site, another blog, another SaaS app that's fundamentally just forms and tables and lists?

Install an open source admin panel and call it a day.

More comments...