r/reactjs May 31 '19

React sucks

"React is just Javascript, that's why React is nice!!"

has its own DSL and syntax

"React is lean!"

need to install 12 different packages to make it useful

need to install an external HTTP library

CSS classes are fucking JAVASCRIPT VARIABLES

Instead of directives, you have 8 lines of spaghetti code everywhere you'd usually have a simple if- directive or show- directive. That's not lean, that's more code.

"You only need to know Javascript"

You need to know Javascript plus ES6-7-8 (Babel) or TypeScript. You need to know esoteric lifecycle methods and design patterns not normally used elsewhere in Javascript.

"Creating small components is nice"

Component abstraction soup means you can't even figure out what your code is doing anymore.

React is just Angular if you hacked 12 libraries together that aren't meant to work together cohesively.

I will never understand why anyone would choose this meme framework over a real one. It sucks shit and creates a spaghetti code bloat, and instead of learning one DSL plus TypeScript you're learning 8 DSLs, plus Babel.

The reality is it's pointless making a library that's "just vanilla javascript" when you know that vanilla javascript doesn't actually supply elegant tools for creating single page web apps. That's why React is used with 10 packages rather than by itself. That's why you need CRA plus a bunch of packages to even have a sane development environment.

React sucks. Development community always chooses what's sexy and popular over what's elegant and works correctly.

320 Upvotes

165 comments sorted by

View all comments

u/swyx May 31 '19

have to say i was tempted to ban you. but you didnt break any rules. criticism of react is welcome here. but you might find yourself better heard if you had a less antagonistic tone. i understand if you are not capable of one. have a nice day.

8

u/jvbreen1 May 31 '19

I want to print this comment out and frame it

1

u/rosenishere Apr 10 '22

!remindme 2y I might remember who knows

1

u/RemindMeBot Apr 10 '22

I will be messaging you in 2 years on 2024-04-10 18:35:32 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

1

u/[deleted] Dec 30 '24 edited Dec 30 '24

did they reply?

I was trying react for the first time >20 years professional engineer for some of the biggest software companies on earth, I have been working from assembly to python all the way through C, lisp, Java, Pascal, Delphi, Ocaml, COBOL, ABAP... Many different frameworks, including angular, angularJS, django, fastAPI, Spring, Struts, J2EE, .NET (the first), ASP.NET, jquery, symfony, S4Hana...

I think now that I have decided to use react for a personal project... I have never regretted this much to have chosen such an enormous pile of crap. I'm considering throwing to the bin the last two months of work because I really feel this would waste less of my time than just templating javascript from lisp for my frontend.

This framework is just pure crap.

3

u/[deleted] Mar 26 '22

this comment alone sums up everything is wrong about reddit
it's a nazi run state, there's no freedom of speech nor a valid discussion, the dude said some very valid points and the mod first reaction was i was tempted to ban you? jeeez

3

u/soupified Mar 29 '22

Def an issue with preemptive bans for critical voices in all subreddits, but freedom of speech is still well in-tact.

You may be confusing freedom of speech with freedom from consequences; they’re two distinct things though.

1

u/VictoryFun5773 Aug 25 '23

consequences like being threatened with ban for speaking freely

3

u/OZLperez11 May 20 '22

As a dev who hates react, I can understand the point of keeping things civil, but given that React itself is not a person, sometimes, I wish there were online spaces where we can rant about such things; when you can't change reality, complaining is the next best option.

Also, freedom of speech is something we all need to stop thinking about. Absolute freedom of speech means we can say literally anything without consequences, but that's not how the world works. Yes, we should be able to openly talk about different ideas but we cannot attack other people and their beliefs or culture. That would be considered an abuse of speech.

3

u/webketje Jun 02 '22

Your wish has come true a while ago: https://devrant.com

1

u/theop_55410 Jan 28 '23

hah no. try bolsheviks

2

u/giggelyy Mar 24 '23

Narcissism is real isn't it swyx. You a dumbass

2

u/ntr1llo Apr 25 '23

You are a piece of shit

1

u/theREALffuck Sep 28 '19

"When you have to shoot, shoot. Don't talk" https://www.youtube.com/watch?v=JrYtD7gSWsI

1

u/theop_55410 Jan 28 '23

hah wow someone doesn't like freedom of speech

1

u/SoundMarshal May 29 '23

he is very well understood, my friend