logoalt Hacker News

n2d4last Tuesday at 6:40 AM1 replyview on HN

What do you mean by "lighter than a React button"? Do you mean lighter than the entire React runtime, plus a React button?

If so, that's somewhat disingenuous because even though a page with a single button would require the entire runtime, a second React button would be significantly cheaper than that.


Replies

tipiirailast Tuesday at 6:49 AM

Yes. React runtime included. Benchmark and details here: https://nuejs.org/docs/react-button-vs-nue.html

show 2 replies