News for hackers. Stuff that matters.
Re:React 19 by jakubmazanec on Tuesday December 10, 2024 @09:42AM (#42377246)
As I said, using HTMX isn't "minimal to no JS". I agree that HTMX can be fast - but that's not what we're talking about. Even in the video of converting a React app to HTMX you linked the presenter literally says - "no JavaScript, just HTMX" - but HTMX is written in guess what? Very dishonest.
Re:React 19 by recursivedoubts on Tuesday December 10, 2024 @09:53AM (#42377384)
i think it's reasonable to call htmx "minimal JS" in that it is relatively small, dependency free, can be used without a typical javascript build chain (npm, etc.) and frees the end user of writing javascript in many cases

the speaker is referring to them not needing to write javascript for a specific feature, which is true, but they do use scripting for some aspects of the application, which is perfectly acceptable in hypermedia-driven applications:

https://htmx.org/essays/hypermedia-friendly-scripting/

regardless, the wins are obvious

Re:React 19 by jakubmazanec on Wednesday December 11, 2024 @04:06AM (#42386071)
> call htmx "minimal JS"

"Minimal", maybe, "small to no", nay :D

Re:React 19 by troad on Wednesday December 11, 2024 @04:26AM (#42386175)
> "Minimal", maybe, "small to no", nay :D

Considering the original phrase was 'minimal or no', I am glad that you now agree.

> you linked the presenter literally says - "no JavaScript, just HTMX" - but HTMX is written in guess what? Very dishonest.

It's difficult to take this seriously. Just wait until you find out most of Python is written in C! Very dishonest!

Re:React 19 by jakubmazanec on Wednesday December 11, 2024 @06:46AM (#42386850)
On the contrary, you are still wrong. HTMX is simply using JavaScript and looking at it, it isn't minimal (it's still 15 kB min+gzip).

> It's difficult to take this seriously. Just wait until you find out most of Python is written in C! Very dishonest!

Now I understand, you're just obtuse.

Re:React 19 by troad on Wednesday December 11, 2024 @06:56AM (#42386901)
> Now I understand, you're just obtuse.

This seems like an exceedingly mean-spirited and unconstructive type of response to have to people who have been giving up their time trying to explain a different point of view to you. I would also gently point out the HN guidelines at this point.

I note you haven't responded to my more substantive reply here,[0] so I am unsure you saw it. I would encourage you to read it with less of a zero-sum 'I-win-you-lose' mentality. I won't be engaging with you further though.

[0] https://news.ycombinator.com/item?id=42386090