logoalt Hacker News

xutopiayesterday at 2:04 PM2 repliesview on HN

Yes but why bother with React, Hydrating pages at all if you can do something simpler? What advantages does React provide here?

HTMX tools are simpler while providing straightforward thinking around html fragment caching, whole page caching. React just gives a runaround way of doing everything. I'll remind you React was built so that people could continue watching a streamed video while they navigated on a page. Most pages aren't streaming anything.


Replies

asdfsa32yesterday at 2:07 PM

Because "simple" is transient at best and a lie at worst.

But for more details, see the sibling comment:

https://news.ycombinator.com/item?id=49069477

show 1 reply
robertoandredyesterday at 7:20 PM

What advantages does HTMX have? You end up with splintered spaghetti code, multiple languages/idioms, and unpredictable state.