Top
Best
New

Posted by iNic 6 days ago

Please just try HTMX(pleasejusttryhtmx.com)
614 points | 507 commentspage 7
simultsop 6 days ago|
As the op may read along the other comments, we are tired trying the new shiny thing. Now it is AI's turn to get tired or never.

Dx resources must aim AI's attention having enormous technical documentation and be AI efficient in order to become mainstream.

I believe no other shiniest thing will ever make cognitive nest in humans. We are overloaded.

rdtsc 6 days ago||
> 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 6 days ago|
And execute commands remotely on your server, for example to install crypto miners...
bob1029 6 days ago||
The framework has been built into the browser for a while now.

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

g947o 3 days ago|
I don't know what you actually mean, but very likely you are completely misguided.
__MatrixMan__ 6 days ago||
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.
magnio 6 days ago||
For those wanting different colored pills, there are

https://justfuckingusereact.com

https://justfuckingusetailwind.com

https://www.justfuckinguserails.com

athrowaway3z 6 days ago||
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.

nymanjon 3 hours ago||
There's also htmz-be, nomini.js. Depending on your complexity needs.
naasking 6 days ago|||
Look into DataStar and Alpine Ajax then, they're much smaller and more targeted.
recursivedoubts 6 days ago|||
our minimalist version of htmx is fixi.js:

https://github.com/bigskysoftware/fixi

1181kb brotli'd (no minification)

yawaramin 6 days ago||
I think you mean 1181b, not kb
recursivedoubts 6 days ago||
whooops
moebrowne 5 days ago|||
> 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 6 days ago|||
Read DATAOS.software for an in depth analysis of bundle sizes and impact on performance.
yawaramin 6 days ago||
It's much smaller than the final bundle size that most sites will end up loading.
amluto 5 days ago||
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.
danpalmer 6 days ago||
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.

throwaway613745 6 days ago||
> Junior devs losing their minds over why useEffect runs twice

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

knallfrosch 6 days ago|
> 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...