Re:Breaking up with JavaScript front ends
by Throwaway23459 on Saturday December 10, 2022 @10:53PM
(#33939885)
React and Angular are both blazing fast, and are definitely not pointless. Open create react app, spin up a page with 50000 buttons, compare that to a plain js version, then come back and tell us about the atrocious performance.
[ Parent
| on HN ]
Re:Breaking up with JavaScript front ends
by ttfkam on Sunday December 11, 2022 @09:15AM
(#33943361)
Apparently you've never heard of event delegation, which has been around for at least twenty years? (I could swear I was using it on IE6, but I might be misremembering.) At any rate, the plain JS way of handling 50,000+ HTML buttons efficiently is a long-solved problem.
Re:Breaking up with JavaScript front ends
by Throwaway23459 on Sunday December 11, 2022 @06:43PM
(#33948925)
You appear to be reading more into my post then I intended. The point I was illustrating is that there is no cruft in React.
Try and keep your posts factual.