Hacker Newsnew | past | comments | ask | show | jobs | submit | owebmaster's commentslogin

> React is astonishingly clever

To do what? Most of the times, simplicity beats cleverness.

As an example, Lit + lit-html is nowadays what React was before hooks. It is faster, simpler, more fun to code.


And it happened at the same that that learning React for 6 months was enough to get a job so very fast a good % of React developers were already using hooks (and actually never used React Components)

Comparing objects is quite expensive, JavaScript does not even have APIs for that.

Treating one big function handling 10 different scenarios is not what I would call functional components, much less simpler in nature.

React in its current incarnation is the best framework to create unmaintainable code.


> *Treating one big function handling 10 different scenarios is not what I would call functional components, much less simpler in nature.

That’s an antipattern. Like the 200 lines function in imperative or the god class in OOP.

Your components should be small and composable. Before directly using the standard hooks in the components, you should think first if it would not better to write a custom one. Scenarios should be handled by custom hooks and component should just get data from them. If you cannot test scenarios apart from your views and vice-versa, you’re doing it wrong


Svelte promises to be better than React but in the end it is not - and I hate React. React is a world on its own inside the frontend and Svelte did exactly the same, it is just different unnecessary complexity. And they even change everything every couple of years just like React.

Brazilian current ethanol production is 2/3 of the US

Don't kid yourself, the US is going to war against anyone that tries to regulate big tech as we are seeing with the US government going against Brazil and the Pix payment system

How can you complain about the article after wrongly assessing it? That's next level AI slop

The opposite, we need people to quit using things to create new things

Flutter is on its way to Google Graveyard tho

Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: