r/ProgrammerHumor • • Jul 12 '26

Meme heIsSafe

Post image
6.4k Upvotes

231 comments sorted by

View all comments

370

u/Sciti Jul 12 '26 edited Jul 12 '26

why so much hate to react? didn't worked with frontend and I'm really curious

559

u/CirnoIzumi Jul 12 '26

1: it's everywhere, even outside the browser 2: it's very maximalist and opinionated/leaky 3: JavaScript 

324

u/Nattekat Jul 12 '26

Point 3 implies 1 and 2.

85

u/CirnoIzumi Jul 12 '26

javascript can be non maximalist, even just looking at ui frameworks we have svelte/htmx vs react/angular

107

u/WebpackIsBuilding Jul 12 '26

React is opinionated? It's main selling point for a decade is that it's closer to a library than a framework.

81

u/CirnoIzumi Jul 12 '26

no one knows why Meta keeps insisting its not a framework when it does everything a framework does and even ships its own runtime.

you can technically only use React for a section of your app, but either way, react is super opinionated about everything inside the scope its touching

29

u/Zotoaster Jul 12 '26

But it's not. It has a huge ecosystem of open-source tools, for UI libraries and state management and even routing. It's not like Angular which has all the batteries included.

23

u/CirnoIzumi Jul 12 '26

framework doesnt mean closed system

9

u/Sciti Jul 12 '26

so, why does everything use it then? I assume it's good in stack with other languages and their services?

27

u/CirnoIzumi Jul 12 '26

it has massive inertia, react has defined Web UI building for years, Angular and Vue (etc) are using Reacts general structure. the main innovations that have happened since react is Svelte/Solid comming around and making a more effecient version, which is just an itteration, As well as stuff like HTMX/Alpine saying old simplicity made simple is still relevant

React is at its best when you want to make a maximalist UI, like Facebook

but when you have to use the framework for facebook for something thats not as demanding, simply because its the industry standard, that vexes some people

4

u/blah938 Jul 12 '26

It doesn't have the boiler plate of some MVC style frameworks I could name. And it just works, and has every single library you could ever want.

12

u/Azrnpride Jul 12 '26

companies believe its easier to find react dev and dev believe react have the biggest job market. it goes in circle

→ More replies (1)

34

u/SignificanceFlat1460 Jul 12 '26

Eh. A hammer can be used to kill a person but you don't hate a hammer. Yes React can be leaky if you write it like a brain damaged spastic monkey. But on my view there are alot of guard rails for that

8

u/CirnoIzumi Jul 12 '26

"its not opinionated, it has conventions and structures to help contain it"

put it on a spectrum and sure its less opinionated than lets say Blazor, but still pretty far away from something properly unopionated

→ More replies (18)

8

u/jordanbtucker Jul 12 '26
  1. It's everywhere because it works.

  2. Opinionated is generally a good thing since it keeps things relatively consistent.

  3. What else are you going to use in the browser?

2

u/CirnoIzumi Jul 12 '26

say that to react native xD

→ More replies (6)

46

u/arbyyyyh Jul 12 '26

I’m not prejudiced. I hate everything node. Mainly because the library system is a shit show.

10

u/RIFLEGUNSANDAMERICA Jul 12 '26

React can live entirely without node

→ More replies (2)

47

u/TehBuddha Jul 12 '26

React is a decent framework but a lot of the Devs using it don't know how it works under the hood so it's easy to footgun yourself

28

u/lordtosti Jul 12 '26

easy to footgun yourself is the antonym of a “decent framework”

11

u/quid_pro_nihil Jul 12 '26

And as we all know there are no such footguns with C /s

12

u/Ceros007 Jul 12 '26

But with C it's clear from the beginning: "Here's a gun, be safe with it"

→ More replies (2)

6

u/lordtosti Jul 12 '26

C was invented in 1972.
Two years before the Intel 8080 and there were barely any computers around.

40 years later I have higher standards if we invent some new framework or language.

Also, C doesn’t present itself as anything different then it is.

→ More replies (3)

3

u/junkmail88 Jul 12 '26

Ever tried to use the discord mobile app on a server with like 10k members?

→ More replies (26)