News for hackers. Stuff that matters.
Re:Understanding React Compiler by afavour on Friday June 28, 2024 @09:25AM (#40820415)
I strongly dislike React (not to be a hipster but I have for years!) but I wouldn’t advise junior developers avoid it. Like it not React is still the de facto standard, if I tell someone who doesn’t know better to avoid it I’m harming their career.
Re:Understanding React Compiler by meiraleal on Friday June 28, 2024 @09:30AM (#40820462)
No, you are not. The complexity of a React app is pure madness.

The bloat in the ecosystem of (mostly) abandoned packages is unparalleled. With the bloat comes the need to tree-shake, bundle, compiling, things that are not needed in modern web development but takes a good amount of the dev cognitive load when developing a React app.

There are great alternatives nowadays that don't come with the bad recent decisions of React: Solid, Lit, even vue or svelte.

Re:Understanding React Compiler by afavour on Friday June 28, 2024 @10:34AM (#40820981)
As you may recall I said I strongly dislike React. You are preaching to the converted with your complaints. That does not alter the fact that junior developer needs to know React since for better or worse (worse) it is the de-facto standard for front-end development at the moment.
Re:Understanding React Compiler by meiraleal on Friday June 28, 2024 @02:07PM (#40823269)
I’m discussing tech, while you’re discussing anthropology. Should people use an inferior tool to achieve a higher social status/paycheck? I don't know, that's your opinion.

Do I recommend someone learn React to develop a web app nowadays? No, it's not worth it.

I'm not preaching to you, but to the juniors reading the thread. React contributes significantly to current JavaScript fatigue, and supporting it so juniors can get a job isn't in my or their best interest.

Re:Understanding React Compiler by afavour on Friday June 28, 2024 @03:37PM (#40824381)
> I’m discussing tech, while you’re discussing anthropology

I’m discussing career advice. Something junior developers look to senior developers for. If your advice to your juniors results in them having fewer employment opportunities then you’re not doing a good job as a mentor.

> Do I recommend someone learn React to develop a web app nowadays? No, it's not worth it.

In what way is it not worth it? The majority of front end dev is done in React. Of course it’s worth it, even if it’s shitty.

Re:Understanding React Compiler by thoughtpalette on Friday June 28, 2024 @05:32PM (#40825510)
FWIW I agree with you. I think in the Last "State of JS" and/or StackOverflow surveys, React usage was still like 88%+ for front end devs/engineers.

You'd be putting yourself at a disadvantage in the field (employment wise) not learning at least some basics. Especially if you're just trying to get your foot in the door. It's already hard to 'break in' but even harder in this hiring climate.

Re:Understanding React Compiler by dsabanin on Friday June 28, 2024 @12:25PM (#40822223)
They don’t have the ecosystem that makes React worth it.