Hacker News new | ask | show | jobs
by dreamcompiler 19 days ago
React was invented to make multiple DOM changes quicker and set up DOM event dependencies declaratively. Fine. Some websites benefit from this. Most do not.

Since React's invention, it has gotten more bloated, browsers have made living DOM changes a lot faster, and the vast majority of websites still only change one or two DOM objects in response to events. Those could easily be handled much faster with plain old AJAX. The latency overhead React adds to a website is quite noticeable and unnecessary. Airbnb.com for example would be a great deal more pleasant to use if they would ditch React.

The fact that React had to reinvent server-side rendering is all you need to know to see that React has jumped the shark.

1 comments

It's not just react, there is a lot of bloat included in modern interfaces, things like telemetry, metrics, error reporting, heatmaps, etc. React was inspired by PHP rendering exactly because it is a much simpler model then the usual two way data binding models.