logoalt Hacker News

Cthulhu_last Tuesday at 8:14 AM3 repliesview on HN

I don't think the "a button in X is 40% heavier than an SPA" is a fair comparison; including a framework will add weight, but these frameworks are not intended for single components. Compare apples to apples, then we can make a fair comparison.

That said, how does Nue compare to htmx and other frameworks leveraging the modern web standards?


Replies

MartijnHolslast Tuesday at 9:16 AM

There is no such things as a true apples to apples comparison for libraries such as this. They all cherry pick something and ignore a ton of things such as:

  - accessibility
  - amount of libraries with plug-and-play solutions to common problems
  - security
  - scalability
  - rendering performance
  - maintainability
  - browser support
  - browser extension interference
  - hundreds of other niche edge-cases that someone will eventually run into but are non-obvious until it's widely used
React is really well-thought out and well made by hundreds of professional contributors that have worked on it for years. The premise that hobbyists can make a better overall solution in less than 8 months is strange. At best they can make a smaller solution, but it will have to sacrifice in other areas.
show 2 replies
t-writescodelast Tuesday at 8:29 AM

  - htmx    = 14k as min.gz
  - solidjs = 7kb as min.gz
htmx for "easy" html, solid for reactivity. Don't know how much more Nue provides; but, there you go for numbers.
tipiirailast Wednesday at 5:43 AM

Is there a full-blown SPA demo made with htmx?