Skip to content

Comment on React 19 Breaks Async Composabilityparent

Comments

Prior to React, most developers just invented a strategy for structuring code on the client side. What’s your preferred alternative?

React isn't a way of structuring code though. It's a whole (huge) framework dedicating to making web apps/pages. And most of the time it seems to be used to replicate functionality that the browser can already natively do (for example, navigating to another page).

You want a good example of how a non-react website and its code might be structured, look at GitHub. At least from a user perspective, I've never had a problem using the back button or ctrl-clicking links while navigating GitHub - which is not something I can say of most other React and heavy-js websites.

replicate functionality that the browser can already natively do

That's.. basically every lib. Welcome to abstractions.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.