Yeah, you've never worked on anything significant in your life. Cobbling together an app using a gorillion libraries is what React is about.
The kind of spaghetti codebases that I've seen in React are impossible to write in Angular. > t. react dev
https://i.imgur.com/kR7fwZ5.png
>Filters morons
No it doesn't. On the contrary, it attracts all kinds of morons.
Angular is what really filters midwits, and the numbers show it.
Most beginners and learn2code gays pick React precisely because it's significantly easier to wrap your head around React than Angular.
Yeah I'm gonna be making a switch to Angular. It's the undisputed champion in what it does.
Meanwhile, React will have its shares eaten by Solid and Svelte.
Nope. React lets your team decide file structure, state management, routing etc. based on the specific needs of the project. Angular is used by companies so that they can swap in developers in and out since every Angular project is the same cookie cutter bullshit.
> specific needs of the project
kek, most devs are just gonna default to what's comfy.
After working with React for almost two years, this has gotten pretty tiresome.
Decision fatigue galore. > Chakra / Material / Rebass / Grommet > Tailwind / CSS-in-JS (Emotion / Styled) > Redux / Recoil / Zustand / Jotai > Axios or ReactQuery or both > Final Form / Hooks Form / Formik w/Yup
I can go on... but hope you got the point.
Even if you have a stack that you're comfy with and proficient in, doesn't change the fact that you'll face maintainability issues.
What cannot be denied is that you need to enforce conventions to support an ever expanding codebase. And with React, it's all so tiresome.
After React 17 fiasco, I was contemplating moving to Solid and Svelte very seriously and have worked with Svelte in prod before (when it was pretty new).
^ The fact that I didn't even consider Angular is testament to how React is a cult. I was drunk on the Kool Aid.
Readers of this post can think of me as an Angular shill, that's their prerogative.
All I will say that the belief "React beats Angular hands down all the time" is not based in truth.
2 years ago
Anonymous
Name one (1) advantage of angular over react.
2 years ago
Anonymous
Since I've only started to get into Angular, perhaps another anon who has
worked with both React and Angular would be more suited to answer this.
However, I will tell you what I find frustrating about the React ecosystem: > packages, packages, packages - no matter the problem, the solution is to npm install or yarn add > no conventions - even if there are conventions agreed upon, they are difficult to enforce > ^ the result of above is every monkey doing his own thing > if you do decide to enforce conventions, setting it all up is such a herculean taks
at my current position, I own two repositories, finished setting up the first one about a week ago
and have to set up the second one now and have been dreading it so much, because: > decision fatigue > same eslint, prettier, husky, lint-staged ..... nonsense
Codebases are spaghetti. I have jumped 4 jobs in the last two year, on my fifth one now.
Worked with React on all except the first one.
Last company was big tech, which brings me to the point: > to make React maintainable, you end up writing your own framework on top of it - which is what we had at the Big tech
the average startup is not going to write their own framework, not to mention
that simply can't even if they wanted to because of the quality of the devs
My job hopping was mysterious to me but in retrospect I can see it was idealism and shitty codebases.
A while ago, I believed that it was possible to be happy and fulfilled writing code. All I had to do was find the right company.
Now that I know that it's all soulless, I'd rather have a smaller headache with predictable enterprise boring shit on Angular
than depressing spaghetti cowboy coding on React.
Programmers are the toilet cleaners of the 21st century and don't let anyone tell you otherwise.
I'd rather close my ticket ASAP and go back to goofing around at my WFH than argue about pointless inane shit until everyone turns blue in the face. Which brings yet another point:
contd..
2 years ago
Anonymous
> infighting between React developers about the one true way of doing things
It's just so common to get into pointless debates about which library is better or which method of doing things is better. > Zustand is so much better than Redux bro > Jotai is so much better than Zustand bro because the state lives in the app rather than outside of it
Endless frameworks that use React as base: > Next.js > Blitz.js > Remix > RedwoodJS
If only these homosexuals could agree on something, anything, even if it wasn't the "BEST" way; at the very least the codebases would be predictable
Initially, it seemed fun because it seemed I was learning new shit everyday.
But now I realize it's all the same nonsense because all I'm doing is learning a gorillion ways do the same old shit (and that too within the React Ecosytem).
Motherfricker, I could have taught myself AR/VR or IoT or Blockchain with the time saved from searching, researching, and deliberating libraries for a frontend rendering engine.
It's all so tiresome.
2 years ago
Anonymous
Server-side rendering is a fricking b***h to work with in Angular (Angular Universal). On the good side, Angular is more ready-made and easier to work with.
2 years ago
Anonymous
Same anon here.
Not gonna defend Angular universal but I'll suggest that you do SSR the old fashioned way using NestJS.
If that seems unappealing, look into Scully (scully.io) and it will take care of all your SSG/JAM needs provided you don't need true SSR (anyone rarely does).
2 years ago
Anonymous
Thanks for the advice 🙂
2 years ago
Anonymous
> infighting between React developers about the one true way of doing things
It's just so common to get into pointless debates about which library is better or which method of doing things is better. > Zustand is so much better than Redux bro > Jotai is so much better than Zustand bro because the state lives in the app rather than outside of it
Endless frameworks that use React as base: > Next.js > Blitz.js > Remix > RedwoodJS
If only these homosexuals could agree on something, anything, even if it wasn't the "BEST" way; at the very least the codebases would be predictable
Initially, it seemed fun because it seemed I was learning new shit everyday.
But now I realize it's all the same nonsense because all I'm doing is learning a gorillion ways do the same old shit (and that too within the React Ecosytem).
Motherfricker, I could have taught myself AR/VR or IoT or Blockchain with the time saved from searching, researching, and deliberating libraries for a frontend rendering engine.
It's all so tiresome.
I do see the following advantages with Angular: > excellent TypeScript support, don't have to do yarn add @types/gay-library > fewer libraries means less decision fatigue and better quality of libraries > external libraries are not only written in TS, but they are built to play well with Angular > dependency management is a breeze with ng add > better reactive FP if you care about that shit, Angular used RxJS under the hood and ngRx is just a better Redux > preservation of sanity - no I don't care about debates or proving anything, all I care about is building good shit, shit that looks good and runs snappy while providing the best DX > if you care about monorepos or single language across the stack, Angular makes even more sense with TypeScript, Angular, NestJS, Postgres > NestJS is inspired by Angular and features similar patterns with it's excellent CLI > fully written in TS with first class support for TypeORM - Postgres becomes a breeze, provided you're not a Mongo shitter
My passion for tech is waning so I'm just gonna drink the Angular kool aid and put this frontend shit behind me. There's so much more to do and explore.
At my second last company, the TechLead was a massive homosexual. Looking at him made me realize what drinking the React Kool aid does to a mofo.
I'd rather kill myself, unironically.
2 years ago
Anonymous
Some IQfy memes are true, like webshitters being morons and manchildren. You sound like my friend that makes six figures writing react, incessantly b***hing about how inane the job is. I tell him to go find a company that does something interesting that doesn’t involve churning out homosexual front-end shit. They’re out there, I work for one, I don’t make as much as my friend but I wake up excited to go to work. in the end all you gays are the same, he’ll be stuck in boomer-tier non-tech companies and hop from one dogshit JavaScript framework to another forever because he doesn’t want to give up his comfy salary, and he’ll be miserable and want to kill himself. Oh well, can’t say I didn’t try to help the two of you. You want to sell your soul to Mr. Shekelgrouber, torturing your mind with one of the worst languages ever invented that’s your business I suppose
2 years ago
Anonymous
so what do you do then?
2 years ago
Anonymous
Lots of things. We run a large scale ETL, so it is still webshit at the end of the day. Our operation depends on circumventing some serious anti-bot measures. The project I’m on is research-based with loosely defined deliverables. I get to sit around, read and experiment all day. Not only is it comfy but it is interesting, it touches a range of theory that your average webcuck wouldn’t see or think about in 20 years on the job
My point is not to shit on OP for what he does. It’s that so many of them seem miserable, yet are convinced that there’s nothing else they can do in this line of work that hasn’t been done before. It’s just not true. There is ALWAYS something new to be discovered. You just have to take a chance and look for it
2 years ago
Anonymous
Meant for
so what do you do then?
2 years ago
Anonymous
Interesting. Yeah I'm working as a junior now in my first role but I'm going to be a lot more selective with my second role because I'll have a lot more choice with some experience under my belt.
2 years ago
Anonymous
Avoid boomer non-tech companies, like any major corporation whose main line of products isn’t tech-related. Home Depot, Kohl’s, big pharma, you get the idea
Target gayman or gayman-like companies and/or small startups where you’re given lots of responsibility and autonomy. HFT firms if you’re a PHD would be great too
2 years ago
Anonymous
>Avoid boomer non-tech companies, like any major corporation whose main line of products isn’t tech-related. Home Depot, Kohl’s, big pharma, you get the idea
Those are the best tho, i work as a programmer in a fricking company making parts for busses and cars and its the best thing ever >half of the office is tech illiterate, i can say whatever i want and they will eat it up >Can choose whatever programming language/framework/whatever i like, they dont care >Small team, 2 other pgorammers, so friendly vibe all around >decent pay
I love it
2 years ago
Anonymous
Then you’ve already made it. Keep grinding, king.
2 years ago
Anonymous
This, it's literally the other way around. Avoid gayMAN at all costs, they will suck the soul out of you, leave you with no free time because they KNOW how to milk you. Get a job at a comfy non-it gigacorpo which doesn't know shit and believes in "trust the experts" while moving at a snail pace.
Comfy pay, no pressure, lots of benefits, you get actually more freedom because you don't have too many itgays breathing down your neck.
2 years ago
Anonymous
Lmfao so many words only to say "I'm afraid of choices" and "I need muh handholding by Google"
2 years ago
Anonymous
Gorillion libraries all doing pretty much the same thing with minor variations in implementation. > muh choices
says the NEET
2 years ago
Anonymous
>Gorillion libraries all doing pretty much the same thing with minor variations in implementation.
You just described literally all of development. Even this discussion of angular vs react falls under that description lmfao. Once again, you're just criticisms having a choice and being free kek >says the NEET
Cope harder, I'm comfy fulltime
2 years ago
Anonymous
> minor variations in implementation. > "Even this discussion of angular vs react falls under that description lmfao"
Yup NEET confirmed.
2 years ago
Anonymous
Are you implying react and angular aren't used for the same purpose?
Lmfao
2 years ago
Anonymous
>Gorillion libraries all doing pretty much the same thing with minor variations in implementation.
You just described literally all of development. Even this discussion of angular vs react falls under that description lmfao. Once again, you're just criticisms having a choice and being free kek >says the NEET
Cope harder, I'm comfy fulltime
I'm the Anon you replied to.
Here's the thing. I'm done. I know React is a cult so I'm not even going to bother with you.
However, if all you got from my posts was that I'm afraid of choices, then you lack reading comprehension.
Many of my criticisms would be considered legitimate by most React devs.
However, you're welcome to be smug in your ignorance.
Go sit around in a circle jerking and sucking each other off while patting yourselves on the back for having the infinite wisdom to choose React.
I'm out.
Some IQfy memes are true, like webshitters being morons and manchildren. You sound like my friend that makes six figures writing react, incessantly b***hing about how inane the job is. I tell him to go find a company that does something interesting that doesn’t involve churning out homosexual front-end shit. They’re out there, I work for one, I don’t make as much as my friend but I wake up excited to go to work. in the end all you gays are the same, he’ll be stuck in boomer-tier non-tech companies and hop from one dogshit JavaScript framework to another forever because he doesn’t want to give up his comfy salary, and he’ll be miserable and want to kill himself. Oh well, can’t say I didn’t try to help the two of you. You want to sell your soul to Mr. Shekelgrouber, torturing your mind with one of the worst languages ever invented that’s your business I suppose
There's truth in your words. My long term plan is to learn C++ in depth and either do Blockchain core development or AR/VR.
2 years ago
Anonymous
>getting into le blockchain >15 years late
Lmao my sides. Everyone here is moronic
2 years ago
Anonymous
Blockchain has legitimate applications and would make this world a better place.
And I'm not talking about building dApps.
You must be a scamster pajeet to think along those lines.
Yeah, the boat for NFTs and fleecing morons has long sailed shitskin.
2 years ago
Anonymous
> Blockchain has legitimate applications and would make this world a better place
Ok name 5 ways blockchain will make the world a better place that can be done more easily with a non blockchain solution. I’ll wait
2 years ago
Anonymous
> trustless verifications through ZK proofs > unprecedented transparency in pretty much all operations due to public ledger > non inflationary currency or at the very least a currency resilient to central/govt. manipulation > DeFi banking, also includes things like automated investing in the financial markets > enhanced security for sensitive data > better governance because increased transparency automatically brings accountability
Some of these are pretty broad in their scope and can span sectors like healthcare, art, and real estate.
Once the problem of scale is solved, blockchain will be the norm.
And believe me, it will be solved because the smartest people on the planet are working on it day and night.
Luddites like you are just a fart in the wind because you think blockchain
is some fad new technology that came to life when Nakamoto developed Bitcoin.
The truth is that blockchain builds on the past 7 decades of human knowledge and has the potential to solve real problems and make the world a better place for everyone, objectively.
It is the future.
2 years ago
Anonymous
> trustless verifications through ZK proofs
Gay techno babble > unprecedented transparency in pretty much all operations due to public ledger
“Bro everyone can see every single transfer and purchase I ever made from this wallet and exactly where it went! I hecking love the destruction of financial privacy!” > non inflationary currency or at the very least a currency resilient to central/govt. manipulation
LOL > DeFi banking, also includes things like automated investing in the financial markets
Worse than traditional banking, less private, less stable, less secure > enhanced security for sensitive data
Wrong > better governance because increased transparency automatically brings accountability
Hahahahahah
You have the naivety of an 8 year old and the false confidence of a 13 year old. Interesting combination
2 years ago
Anonymous
> trustless verifications through ZK proofs
"I don't understand zero knowledge proofs because CS is hard." I know moron. Stay in your lane. > “Bro everyone can see every single transfer and purchase I ever made from this wallet and exactly where it went! I hecking love the destruction of financial privacy!”
Nice strawman moron - it's not just about wallet - transparency has many applications from supply chain to healthcare > LOL
Not a valid argument > Worse than traditional banking, less private, less stable, less secure
Again, you say it's worse but don't elaborate how. Fractional Reserve Banking suits cattle shit like you, to be fair. > Wrong
Wrong > Hahahahahah
Hahahahahah
You are literally a mouthbreathing mongoloid piece of dogshit. have a nice day shitskin.
2 years ago
Anonymous
>Zero knowledge proof crypto
How about just removing the line that says sender and receiver from the Blockchain...
2 years ago
Anonymous
>Blockchain has legitimate applications and would make this world a better place.
Thank you for automatically invalidating any argument you had kek. Saved me a lot of reading time
>Talks about "Le ebin react cult" >Believes in Blockchain
Like clockwork lmfao
2 years ago
Anonymous
Your critical thinking is shit if you think one unrelated argument invalidates another, especially because the conveyor of the argument holds certain beliefs.
>Bockjane will sabe da worl!!!!
Come on my fellow apes if we just give away enough of our money into these scam project eventually one of them will make us rich!!!
Existence of scams doesn't invalidate the underlying technology.
Human greed is human greed.
I do sense a mild regret from you gays for not hopping on the gravy train.
I did back my beliefs with my arguments
> trustless verifications through ZK proofs > unprecedented transparency in pretty much all operations due to public ledger > non inflationary currency or at the very least a currency resilient to central/govt. manipulation > DeFi banking, also includes things like automated investing in the financial markets > enhanced security for sensitive data > better governance because increased transparency automatically brings accountability
Some of these are pretty broad in their scope and can span sectors like healthcare, art, and real estate.
Once the problem of scale is solved, blockchain will be the norm.
And believe me, it will be solved because the smartest people on the planet are working on it day and night.
Luddites like you are just a fart in the wind because you think blockchain
is some fad new technology that came to life when Nakamoto developed Bitcoin.
The truth is that blockchain builds on the past 7 decades of human knowledge and has the potential to solve real problems and make the world a better place for everyone, objectively.
It is the future.
Now what do you frickers have to say about yours? Just because you got scammed by pajeets doesn't mean blockchain is shit. It only means that your brains are shit, or at least severely dysfunctional due to greed.
2 years ago
Anonymous
>Your critical thinking is shit if you think one unrelated argument invalidates another
Not if the belief shows the person is a moron. You wouldn't talk to a flatearther about astronomy now would you?
2 years ago
Anonymous
Flatearth and astronomy are related topics.
It seems you're the moron.
Got it.
2 years ago
Anonymous
>Bockjane will sabe da worl!!!!
Come on my fellow apes if we just give away enough of our money into these scam project eventually one of them will make us rich!!!
2 years ago
Anonymous
Don’t waste another fricking minute then. Get off your ass, find a company that does interesting shit and has a small group of people you jive with. Your life will improve dramatically
2 years ago
Anonymous
As an Angular dev who wanted to get into React, the way Redux is used is very confusing.
2 years ago
Anonymous
Redux is terrible and the sole fact you need it to build any real life application with React proves how broken this framework is
If you're to moronic to build custom context classes manually (this is actually what real enterprise react devs do) and don't like redux, just use Zustand. It makes state management babby tier
2 years ago
Anonymous
I like Redux in Angular (even though it is a chore).
2 years ago
Anonymous
>even though it is a chore
Literally everything in angular is a chore lmao
I feel like I spend 3x more even on tiny angular components vs the time it would take me to write them in react
Nope. React lets your team decide file structure, state management, routing etc. based on the specific needs of the project. Angular is used by companies so that they can swap in developers in and out since every Angular project is the same cookie cutter bullshit.
2 years ago
Anonymous
React gays are the cniles of web development: "I know better". The result is an unbearable mess
2 years ago
Anonymous
You cant think for yourself. Pajeets at Google decide how you create your project
2 years ago
Anonymous
Nope, React is used by because people are too moronic to use vanilla js. Anyway, the first thing people do when they use React is use NextJS which has all of that stuff included.
2 years ago
Anonymous
>people are too moronic to use vanilla js.
Vanilla JS is shit.
JS is a terrible language and we only use it because it's the only language browsers understand.
React fixes one big problem JS has which is the terrible, terrible way it interacts with the DOM. did I mention the DOM is also shit?
2 years ago
Anonymous
let me guess, you tried web dev, failed, know zero programming languages, and yet you still come here and complain every day.
2 years ago
Anonymous
Nope.
I started my own company, doing web dev full time, business is doing great.
I also know C, C++, Java, Prolog (lol) and LISP.
I don't hate web dev, I'm just not going to pretend JS is a good language or that insisting on using vanilla JS makes you smart.
2 years ago
Anonymous
Nah, you're absolutely right.
The only reason JS is used because it's the only one that can be used.
Imagine if Chrome actually went ahead with the Dart VM inside of it.
Admittedly the first implementation of Dart was dogshit (static typing not enforced) but it got pretty got in later years.
At the very least we'd have had another compile target.
But on a serious note, give PureScript a try. It compiles to really performant JS.
2 years ago
Anonymous
Dart is fricking dead
2 years ago
Anonymous
> let me guess, you tried web dev, failed, know zero programming languages, and yet you still come here and complain every day.
that's me and I can't cope with it
2 years ago
Anonymous
You don't know what you are talking about. React was used when there were no such thing as components or modules in javascript / DOM, and was to fit a very specific use case at Facebook.
That you think learning a scripting language is harder than doing fricking text processing in C tells me you are a larper who doesn't write code at all.
Shared package indexes coming default with chrome will be the next logical evolution, making React absolutely BTFO any other library or framework since it will be 10x faster
gonna work through that soon. I really hate building near enterprise solutions on vanilla javascript.
WHY do i make that?
Because employers are moronic, teammates might be moronic, too.
I might be the one to do it all on my self.
I had the displeasure to work with very incompetent colleagues in blue collar jobs.
Why shouldn't happen the same here?
>1990
Yeah I let progressive take total control of the country, not like they can ruin it or anything stupid americans. >2022
HOW COULD THIS HAPPEN >2030
*Invades all of europe, genocide of mudslime and israelites* >2034
America and Russia divide the country again.
Hitler was pro-Muslim and regularly opined that he wished that the German population was Muslim.
Sure, I know Muslim isn't a race, but he also considered the Japanese honorary Aryans.
>stops importing Russian gas
But that's not what is happening. Russia simply stopped delivering what was contracted. >inb4 muh sanctions
Don't attack countries and threaten us with nukes you fricking morons.
Leftypol supports Russia because they believe israelitetin is the new harbringer of communsim and the USSR. Frick that non-white muslim shithole Russia that keeps sending us Black folk and Arabs.
React was literally invented specifically for morons.
It's better than writing raw JS, though, I'll give it that. Then again, sticking your wiener in a meat grinder is better than writing JS.
>It's better than writing raw JS
A small wrapper around web components API is all you need and it will allow you to write less code than React. The thing is, you are all deciding on React vs Angular because of jobs, not because of what tech is best.
React users take a week to decide which framework to use to send a fetch request from the browser. Is it React Query? Should we use GraphQL? Oh no, we are supposed to abort the query as useEffect return value. Argh all my shit is looping because I forgot a dependency!#$@$
I'm learning React now as an Angular dev and it feels janky af. Is it really like this?
With Angular everything comes out of the box and is excellent and first party, but for React to get the same feature-set for an actual application I have to pick and choose different libraries written by different people and somehow make them work cohesively together. I tried adding TypeScript to it and that was an awful experience as well compared to Angular. I'm honestly surprised as I heard most people say they like it more than Angular but it's just a mess it appears. I'm only learning it because Angular's marketshare is dwindling and it pays about 20% higher in my country.
Some questions:
1. What are Angular's 'services' equivalents in React? What about Guards?
2. How do you communicate with siblings/parents? Is redux/context the only answer?
3. Is CRA worth using or is it just bloat?
redux/context. otherwise, you can just pass state and setState via the props.
3.
CRA isn't that popular anymore I don't think. I don't use React any more, but I believe most people use NextJS because most of the shit is built in. I don't think you want to start from nothing otherwise you will be spending weeks just finding the various libraries and setting up webpack and so on to get it working.
The beauty of React is that there is a tons of way to do what you want, you want global state management? >Redux
Dont like it? >Modern Redux Toolkit
Don't like it? >Zustand
Dont like it? >Mobx
Dont like it? >Context
And so on. Everyone can find something
2 years ago
Anonymous
Why not just have a default global state that just let you set a single component and be accessible everywhere instead of that mess of stores and whatever?
I did a React bootcamp and it's exactly like people in this thread are saying, you just start installing shit on top of shit.
I'm not against modularity but ffs how do you make any applications if your components can't communicate which other?
2 years ago
Anonymous
>Why not just have a default global state that just let you set a single component and be accessible everywhere instead of that mess of stores and whatever?
Literally Context API you ape
2 years ago
Anonymous
>Context API
lmao that was not a thing many versions back
Also frick the React website, back then it was black lives and now Ukraine. Onions react devs just can't stay away of virtue signaling.
2 years ago
Anonymous
>lmao that was not a thing many versions back
Indeed but since like 2018 it is so you can stop crying
2 years ago
Anonymous
>2018
I'm surprised my bootcamp teachers didn't talked about that, they are morons.
>Is CRA worth using or is it just bloat?
I would avoid it if possible. I use Vite as a drop-in replacement for CRA, it's way faster and more enjoyable to work with
I use it but there's something unholy about all modern web frameworks, like I'm communicating with a magical box that gives me outputs instead of doing actual programming. I have no fricking clue what's really going on.
Give me one use case for React where its ACTUALLY better than vanilla JS. Just one. I will wait. I have asked this question 20 times and have never got a good answer.
Just the JS, go write the HTML in a separate file. And btw, you'll have no way of knowing what event listeners are attached
by looking at the HTML. In fact, you won't know jack squat looking at the HTML.
Yeah, I'm a big fan of web components. Precisely because they're native.
You should look into Imba, they use web components under the hood.
why the frick would you want to tightly couple every part of your application
Tightly coupled? It was a small example and won't expand in the way you think it would.
Moreover, separation of concerns doesn't mean separation of file types.
As long as the single responsibility principle is adhered to, everything is fine.
Are you implying react and angular aren't used for the same purpose?
Lmfao
Angular is used to build full fledged frontends for web apps.
React is a view rendering library that requires a ton of other libraries in order to build a full fledged SPA.
Learning React, can any one link a more or less basic CRUD app where state management is done properly and which doesn't use Redux etc? Is Context proper solution for this?
Stay the frick away from context as well as Redux.
Use Zustand. Simple, elegant, and global by default.
If you're that autistic about the redux/reducer patten then you can implement that as well inside Zustand. Infinite freedom.
Your entire field is just a formality so that when a breach happens they can say they did their due diligence then turn around and blame you legally lmao
I'm currently working as front end dev on a gigantic legacy application.
We (specially me) want to move from vanilla JS and jQuery spaghetti fest into something more pleasant and maintainable.
React was our first thought, because the company we're working with uses it and because I know it.
But honestly I'm having second thoughts about this.
React offers too much freedom imo and I don't think this is something necessarily good if you plan on building an enterprise app and also I don't trust anyone here enough to let them do whatever the frick they want when it comes to front end.
I wanted to dig int Svelte, due to simplicity and performance but I'm also considering Angular.
Anyone with experience in a similar situation can enlighten me?
Enterprise setting = Angular
Why?
Because of the employee turnover in enterprises you NEED something rigid enough that will force everyone to code the same way and safely. If you can provide this kind of moron-proof environment with React go for it (I genuinely think it's more fun to code with React) otherwise stick to Angular.
>you NEED something rigid enough that will force everyone to code the same way and safely
That's exactly what I was thinking. Full stack guys here are decent but their JS is pretty bad imo, on top of outdated. I could try to implement some rules and guidelines using React but I'm 100% sure they are not going to follow them, so ideally I need something where following those guidelines isn't optional.
>you NEED something rigid enough that will force everyone to code the same way and safely
That's exactly what I was thinking. Full stack guys here are decent but their JS is pretty bad imo, on top of outdated. I could try to implement some rules and guidelines using React but I'm 100% sure they are not going to follow them, so ideally I need something where following those guidelines isn't optional.
If that was true then why are the majority of JS jobs in corpos right now in React?
I live in Europe and the majority of enterprise jobs are in Angular. Both are good but it's easier to get an inmaintenable mess with React than Angular. React is mostly used by startups in France.
2 years ago
Anonymous
>React is mostly used by startups in France.
kek
you visited every company in Europe to say that?
LMFAOO
2 years ago
Anonymous
I visited the job offers available for someone with masters degrees and 5 years of experience. Keep drinking the need koolaid moron.
2 years ago
Anonymous
I live in Europe (not France) and there are plenty of React shops (my company included)
>Services + RxJS alone let Angular mog on React
Is that why nobody uses Angular anymore in new project instead they opt for Angular-but-not-shit ie Vue?
WebShit newbies and startups like React because it's quick to start developing and easy to find devs (90% of the time these devs are overpaid idiots)
Like a few people have pointed out in this thread already React is dependency and management hell in the long run because by design there is no "right" way to do something. Angular fixes this by being opinionated and having a set way of doing things that are easy to implement and understand at a glance.
This all makes Angular projects sensible and easy to work with if you have a modicum of understanding (and way less reliant on seniors reviewing junior work), while React lets these bugmen (that have a shitty reminder app on top of their resume) run wild and projectile vomit all over the place for years before it's time to switch to the next buzzword library.
React is almost 10 years old and dominant since 5 years while Google killed AngularJS
2 years ago
Anonymous
It's dominant in the same way that there are more fast food workers than lawyers
2 years ago
Anonymous
Not the same thing, being a lawyer requires much more effort than being a fast food worker. Thats why there is a smaller amount of them.
The effort required to learn React and Angular is the same, frick some would argue React is harder. People just prefer React
2 years ago
Anonymous
Most react monkeys couldn't write and subscribe to an Observable if their life depended on it.
2 years ago
Anonymous
why would you use angular patterns in react?
2 years ago
Anonymous
Most React projects gravitate towards being a bad implementation of Angular
2 years ago
Anonymous
name one react project that does di
2 years ago
Anonymous
When you start enforcing conventions in a React project, you end up with a shitty version of Angular.
Just like when you start using vanilla JS, you end up writing a shitty JS framework.
2 years ago
Anonymous
CRA is more performant than Angular insofar as you keep it completely featureless, when you start adding necessary components like react-router and Redux the complexity increases exponentially (all to get features Angular already has, and you know won't have to be swapped for the next big popular library that crops up)
2 years ago
Anonymous
>CRA >react-router >Redux
no one uses those anymore for years.
we have Nextjs now.
2 years ago
Anonymous
>we have Nextjs now
And tomorrow you will have some other next big React framework that promises to solve all of the problems with React, won't you Rajesh?
2 years ago
Anonymous
No, because React is getting more and more popular every day while angular is on the opposite trajectory :^) keep seething tho
2 years ago
Anonymous
See
Not the same thing, being a lawyer requires much more effort than being a fast food worker. Thats why there is a smaller amount of them.
The effort required to learn React and Angular is the same, frick some would argue React is harder. People just prefer React
2 years ago
Anonymous
Yup, Reactards have agreed that React is the best thing since sliced bread.
Now the only thing left to agree upon is what else to use to build shit as React is only a view rendering engine.
So now, we start getting things like Next.js, Gatsby, Blitz.js, RedwoodJS, Remix.
Let's say that the React cultists do manage to settle on one of the above then the next point of contention would be libraries to use for features not included with the framework.
This fervor kinda reminds me of mudslimes with their 72 sects, murdering and raping each for the one true religion.
Angular is like a Rolls Royce with a chauffeur.
React is like the Flinstones buggy. Looks like a car but the driver just pushes boulders around and shits his pants in the end.
2 years ago
Anonymous
You ever wonder why new shit looks like React/is built on top of it and not Angular? Because ANGULAR
FRICKING
SUCKS
2 years ago
Anonymous
Because Angular doesn't need anything on TOP of it because it's already feature complete.
moron.
2 years ago
Anonymous
How about SSR which only does through Universal which fricking sucks massive dick compared to Next
2 years ago
Anonymous
Refer to this
Same anon here.
Not gonna defend Angular universal but I'll suggest that you do SSR the old fashioned way using NestJS.
If that seems unappealing, look into Scully (scully.io) and it will take care of all your SSG/JAM needs provided you don't need true SSR (anyone rarely does).
Basically, if you want true SSR (one rarely does) then learn to build a proper backend.
Isomorphic dogshit frameworks like Next don't take you far and rarely scale.
2 years ago
Anonymous
Next.Js is true SSR, works fricking great, tons of insanely popular website use it, and guess what, it uses...oh god no.....React!
2 years ago
Anonymous
>true SSR
Sure thing buddy.
This is why they beg throughout their entire documentation to use SSG when you can help it.
Hipsters like you come and exclaim "what about SSR?" but SSR is nothing more than a buzzword to you. Do let me know of a usecase that you're dealing with now that requires true SSR.
Ever ask yourself whether a thing like SSR is even the responsibility of a frontend framework?
The answer is a loud resounding NO.
Using a hybrid mongrel framework like Next is just pozzed.
2 years ago
Anonymous
>she doesn't know about react server components
2 years ago
Anonymous
>Isomorphic dogshit frameworks like Next don't take you far and rarely scale >Runs fricking ticketmaster and united airlines
fricking moron, more users in an hour and more computing required than in all of your apps ever
2 years ago
Anonymous
Cucked by Vercel through vendor lock in.
NextJS will never be a fullstack framework.
It will only be used by frontend monkeys like you for apps that don't require a proper backend.
2 years ago
Anonymous
get a job.
backend and frontend are always separate.
our backend is not minimal.
our backend team would kill you if you suggested node.
2 years ago
Anonymous
They have a proper backend. Try again moron.
As if serving a certain number of users is ever a frontend feat. > your brain as a frontend monkey
Either an ex-barista or a shitskin. Go back to being a barista, moron, or go back to the shithole you came from.
2 years ago
Anonymous
Have you even built something in Angular, let alone working on something significant?
Or are you just regurgitating what the cultists taught you?
Your impotent rage reminds me of mudslimes raging at kuffars.
2 years ago
Anonymous
Yes the front-end of my bachelor project was made in Angular (because the other guy from the team wanted it). Did YOU code anything in modern React?
2 years ago
Anonymous
I've only coded in React professionally (including Big Tech), and now finally see it for the cult it is after three years.
Won't deny hooks is much better than that class shit, holy shit what were those days.
But I'm gonna be out soon.
2 years ago
Anonymous
>Muh cult
Literally so many mentions of this and not a single explanation why. Liking react over angular doesn't mean you're in a cult.
2 years ago
Anonymous
since when does Angular have SSR?
Angular's ecosystem is a lot smaller than React's and the gap is only going to become a bigger problem.
React will soon replace SSR with server components and Angular has nothing at all.
2 years ago
Anonymous
>The effort required to learn React and Angular is the same
>this fricking cope
lmao, your shitty ass framework is not some einstein brain requiring piece of technology, its the same fricking shit, and i work in all of 3 because we have projects in my company in Vue,React,Ang and even fricking Jquery still
2 years ago
Anonymous
RxJS does better reactive FP than React.
Cope, seethe, and dilate onions.
2 years ago
Anonymous
in practice people using Angular treat Observable subscribe() like it is just a bad non-conforming Promise then() in nearly every project including examples baked into Angular's own awful documentation and many "Production" libraries out there
2 years ago
Anonymous
says the one using a framework that uses fricking dependency injection in javascript, a dynamic language.
there's zero need for dependency injection in a dynamic language.
no one else is this moronic.
2 years ago
Anonymous
>The effort required to learn React and Angular is the same
>React is dependency and management hell in the long run because by design there is no "right" way to do something.
Once again googlegays prove they need literal handholding otherwise they won't survive in the big bad world of application development.
morons like you HATE android because you can choose between multiple dependency injection methods and libraries, and LOVE iOS because you don't have to think for yourself, you simply get no choice.
Not needed. Just create a basic socket server and bind it to 127.0.0.1 and then write the interface in html/css and js. Setup the onclicks to go to http://127.0.0.1/onBtnClick.
>temporary
Since like 2017 its the most popular, and its not going to change, frick the gap is even getting bigger. Literally every meme JS shit that is releasing now like Remix or Solid or whatever the frick is based on React
It's inspired by KnockoutJS (which has been dead for a while now).
Solid is basically Knockout with JSX. However, Solid JSX is different from React JSX and have different compilers.
react is very good for its simplicity but at the same time, it's its biggest drawback. for it to provide any use in a product, you have to stack external dependencies throughout like a bunch of shit for your build process, something to not make styling a chore, you have to add a routing package just because, you will end up adding an external state library (shoutouts to zustand) because react state is a bit naive by default. sure context is great but is also annoying firing renders.
it's no surprise that something like nextjs is popular because it hides away a lot of the react drawbacks/missing features away in the background somewhere. as a react dev for 5 years, i'm becoming more and more convinced that react will soon be supplanted by a better tool
It's almost like ... You only add features you want to use... Woah
yes but you don't add them from react. you have to pick and choose packages from random third parties and pray that they keep them maintained and don't provide aids opinionated api's
the biggest selling point of react is that it's maintained by the one of the biggest companies in the world and comes with an inherent trust so why do you then have to outsource the main actual useful bits to literally who's like ryan florence who now want to shill you their own shitty service
I remember the time when Angular 2 saw reduced adoption because it enforced TypeScript.
React devs were like: > OOP is so ewww > why make our pretty and functional JS ugly with type annotations
Fast forward today and almost every serious React project uses TS.
My point is that Angular is a well engineered framework and the hate it gets is not only
unjustified but straight up ignorant, especially when you consider that React devs have been
slowly and steadily bringing in what the Angular team had the foresight to ship by default.
Oh boy, as a backend chad it has been fun reading all this shit.
Frontend was never a thing.
Take Django, Rails, or Spring - fullstack frameworks and SSR have always been the norm.
Until the point frontend went to a whole new level of shit. When backend chads got sick of it, that's when these frontend monkeys were imported to do the menial labor.
Stop thinking you guys are relevant. You're monkeys overengineering things to seem human.
That being said, I'd have an Angular dev on my team over a React one any day. They tend to know proper design patterns and can even contribute to backend sometimes.
Fricking hate React monkeys though. Brainless and arrogant and always asking shit questions.
I too, hate React monkeys. No brains but smug in their moronation.
compare to full-featured frameworks from ages past like rails.
if you want a feature, you just add a rails plugin.
you don't need to decide which among all those libraries for that feature is the correct one.
you don't need to write any glue code yourself.
your development velocity is a lot faster due to that.
Oh boy, as a backend chad it has been fun reading all this shit.
Frontend was never a thing.
Take Django, Rails, or Spring - fullstack frameworks and SSR have always been the norm.
Until the point frontend went to a whole new level of shit. When backend chads got sick of it, that's when these frontend monkeys were imported to do the menial labor.
Stop thinking you guys are relevant. You're monkeys overengineering things to seem human.
That being said, I'd have an Angular dev on my team over a React one any day. They tend to know proper design patterns and can even contribute to backend sometimes.
Fricking hate React monkeys though. Brainless and arrogant and always asking shit questions.
>implying webshites are not all moronic
>filters react gays
Not really. Angular is pretty much like react, your code is just much more fragmented and the enhanced html is even more shit to code in than jsx.
Yeah, you've never worked on anything significant in your life. Cobbling together an app using a gorillion libraries is what React is about.
The kind of spaghetti codebases that I've seen in React are impossible to write in Angular.
> t. react dev
No it doesn't. On the contrary, it attracts all kinds of morons.
Angular is what really filters midwits, and the numbers show it.
Most beginners and learn2code gays pick React precisely because it's significantly easier to wrap your head around React than Angular.
Yeah I'm gonna be making a switch to Angular. It's the undisputed champion in what it does.
Meanwhile, React will have its shares eaten by Solid and Svelte.
Kek nice LARP angular shill
> specific needs of the project
kek, most devs are just gonna default to what's comfy.
After working with React for almost two years, this has gotten pretty tiresome.
Decision fatigue galore.
> Chakra / Material / Rebass / Grommet
> Tailwind / CSS-in-JS (Emotion / Styled)
> Redux / Recoil / Zustand / Jotai
> Axios or ReactQuery or both
> Final Form / Hooks Form / Formik w/Yup
I can go on... but hope you got the point.
Even if you have a stack that you're comfy with and proficient in, doesn't change the fact that you'll face maintainability issues.
What cannot be denied is that you need to enforce conventions to support an ever expanding codebase. And with React, it's all so tiresome.
After React 17 fiasco, I was contemplating moving to Solid and Svelte very seriously and have worked with Svelte in prod before (when it was pretty new).
^ The fact that I didn't even consider Angular is testament to how React is a cult. I was drunk on the Kool Aid.
Readers of this post can think of me as an Angular shill, that's their prerogative.
All I will say that the belief "React beats Angular hands down all the time" is not based in truth.
Name one (1) advantage of angular over react.
Since I've only started to get into Angular, perhaps another anon who has
worked with both React and Angular would be more suited to answer this.
However, I will tell you what I find frustrating about the React ecosystem:
> packages, packages, packages - no matter the problem, the solution is to npm install or yarn add
> no conventions - even if there are conventions agreed upon, they are difficult to enforce
> ^ the result of above is every monkey doing his own thing
> if you do decide to enforce conventions, setting it all up is such a herculean taks
at my current position, I own two repositories, finished setting up the first one about a week ago
and have to set up the second one now and have been dreading it so much, because:
> decision fatigue
> same eslint, prettier, husky, lint-staged ..... nonsense
Codebases are spaghetti. I have jumped 4 jobs in the last two year, on my fifth one now.
Worked with React on all except the first one.
Last company was big tech, which brings me to the point:
> to make React maintainable, you end up writing your own framework on top of it - which is what we had at the Big tech
the average startup is not going to write their own framework, not to mention
that simply can't even if they wanted to because of the quality of the devs
My job hopping was mysterious to me but in retrospect I can see it was idealism and shitty codebases.
A while ago, I believed that it was possible to be happy and fulfilled writing code. All I had to do was find the right company.
Now that I know that it's all soulless, I'd rather have a smaller headache with predictable enterprise boring shit on Angular
than depressing spaghetti cowboy coding on React.
Programmers are the toilet cleaners of the 21st century and don't let anyone tell you otherwise.
I'd rather close my ticket ASAP and go back to goofing around at my WFH than argue about pointless inane shit until everyone turns blue in the face. Which brings yet another point:
contd..
> infighting between React developers about the one true way of doing things
It's just so common to get into pointless debates about which library is better or which method of doing things is better.
> Zustand is so much better than Redux bro
> Jotai is so much better than Zustand bro because the state lives in the app rather than outside of it
Endless frameworks that use React as base:
> Next.js
> Blitz.js
> Remix
> RedwoodJS
If only these homosexuals could agree on something, anything, even if it wasn't the "BEST" way; at the very least the codebases would be predictable
Initially, it seemed fun because it seemed I was learning new shit everyday.
But now I realize it's all the same nonsense because all I'm doing is learning a gorillion ways do the same old shit (and that too within the React Ecosytem).
Motherfricker, I could have taught myself AR/VR or IoT or Blockchain with the time saved from searching, researching, and deliberating libraries for a frontend rendering engine.
It's all so tiresome.
Server-side rendering is a fricking b***h to work with in Angular (Angular Universal). On the good side, Angular is more ready-made and easier to work with.
Same anon here.
Not gonna defend Angular universal but I'll suggest that you do SSR the old fashioned way using NestJS.
If that seems unappealing, look into Scully (scully.io) and it will take care of all your SSG/JAM needs provided you don't need true SSR (anyone rarely does).
Thanks for the advice 🙂
I do see the following advantages with Angular:
> excellent TypeScript support, don't have to do yarn add @types/gay-library
> fewer libraries means less decision fatigue and better quality of libraries
> external libraries are not only written in TS, but they are built to play well with Angular
> dependency management is a breeze with ng add
> better reactive FP if you care about that shit, Angular used RxJS under the hood and ngRx is just a better Redux
> preservation of sanity - no I don't care about debates or proving anything, all I care about is building good shit, shit that looks good and runs snappy while providing the best DX
> if you care about monorepos or single language across the stack, Angular makes even more sense with TypeScript, Angular, NestJS, Postgres
> NestJS is inspired by Angular and features similar patterns with it's excellent CLI
> fully written in TS with first class support for TypeORM - Postgres becomes a breeze, provided you're not a Mongo shitter
My passion for tech is waning so I'm just gonna drink the Angular kool aid and put this frontend shit behind me. There's so much more to do and explore.
At my second last company, the TechLead was a massive homosexual. Looking at him made me realize what drinking the React Kool aid does to a mofo.
I'd rather kill myself, unironically.
Some IQfy memes are true, like webshitters being morons and manchildren. You sound like my friend that makes six figures writing react, incessantly b***hing about how inane the job is. I tell him to go find a company that does something interesting that doesn’t involve churning out homosexual front-end shit. They’re out there, I work for one, I don’t make as much as my friend but I wake up excited to go to work. in the end all you gays are the same, he’ll be stuck in boomer-tier non-tech companies and hop from one dogshit JavaScript framework to another forever because he doesn’t want to give up his comfy salary, and he’ll be miserable and want to kill himself. Oh well, can’t say I didn’t try to help the two of you. You want to sell your soul to Mr. Shekelgrouber, torturing your mind with one of the worst languages ever invented that’s your business I suppose
so what do you do then?
Lots of things. We run a large scale ETL, so it is still webshit at the end of the day. Our operation depends on circumventing some serious anti-bot measures. The project I’m on is research-based with loosely defined deliverables. I get to sit around, read and experiment all day. Not only is it comfy but it is interesting, it touches a range of theory that your average webcuck wouldn’t see or think about in 20 years on the job
My point is not to shit on OP for what he does. It’s that so many of them seem miserable, yet are convinced that there’s nothing else they can do in this line of work that hasn’t been done before. It’s just not true. There is ALWAYS something new to be discovered. You just have to take a chance and look for it
Meant for
Interesting. Yeah I'm working as a junior now in my first role but I'm going to be a lot more selective with my second role because I'll have a lot more choice with some experience under my belt.
Avoid boomer non-tech companies, like any major corporation whose main line of products isn’t tech-related. Home Depot, Kohl’s, big pharma, you get the idea
Target gayman or gayman-like companies and/or small startups where you’re given lots of responsibility and autonomy. HFT firms if you’re a PHD would be great too
>Avoid boomer non-tech companies, like any major corporation whose main line of products isn’t tech-related. Home Depot, Kohl’s, big pharma, you get the idea
Those are the best tho, i work as a programmer in a fricking company making parts for busses and cars and its the best thing ever
>half of the office is tech illiterate, i can say whatever i want and they will eat it up
>Can choose whatever programming language/framework/whatever i like, they dont care
>Small team, 2 other pgorammers, so friendly vibe all around
>decent pay
I love it
Then you’ve already made it. Keep grinding, king.
This, it's literally the other way around. Avoid gayMAN at all costs, they will suck the soul out of you, leave you with no free time because they KNOW how to milk you. Get a job at a comfy non-it gigacorpo which doesn't know shit and believes in "trust the experts" while moving at a snail pace.
Comfy pay, no pressure, lots of benefits, you get actually more freedom because you don't have too many itgays breathing down your neck.
Lmfao so many words only to say "I'm afraid of choices" and "I need muh handholding by Google"
Gorillion libraries all doing pretty much the same thing with minor variations in implementation.
> muh choices
says the NEET
>Gorillion libraries all doing pretty much the same thing with minor variations in implementation.
You just described literally all of development. Even this discussion of angular vs react falls under that description lmfao. Once again, you're just criticisms having a choice and being free kek
>says the NEET
Cope harder, I'm comfy fulltime
> minor variations in implementation.
> "Even this discussion of angular vs react falls under that description lmfao"
Yup NEET confirmed.
Are you implying react and angular aren't used for the same purpose?
Lmfao
I'm the Anon you replied to.
Here's the thing. I'm done. I know React is a cult so I'm not even going to bother with you.
However, if all you got from my posts was that I'm afraid of choices, then you lack reading comprehension.
Many of my criticisms would be considered legitimate by most React devs.
However, you're welcome to be smug in your ignorance.
Go sit around in a circle jerking and sucking each other off while patting yourselves on the back for having the infinite wisdom to choose React.
I'm out.
There's truth in your words. My long term plan is to learn C++ in depth and either do Blockchain core development or AR/VR.
>getting into le blockchain
>15 years late
Lmao my sides. Everyone here is moronic
Blockchain has legitimate applications and would make this world a better place.
And I'm not talking about building dApps.
You must be a scamster pajeet to think along those lines.
Yeah, the boat for NFTs and fleecing morons has long sailed shitskin.
> Blockchain has legitimate applications and would make this world a better place
Ok name 5 ways blockchain will make the world a better place that can be done more easily with a non blockchain solution. I’ll wait
> trustless verifications through ZK proofs
> unprecedented transparency in pretty much all operations due to public ledger
> non inflationary currency or at the very least a currency resilient to central/govt. manipulation
> DeFi banking, also includes things like automated investing in the financial markets
> enhanced security for sensitive data
> better governance because increased transparency automatically brings accountability
Some of these are pretty broad in their scope and can span sectors like healthcare, art, and real estate.
Once the problem of scale is solved, blockchain will be the norm.
And believe me, it will be solved because the smartest people on the planet are working on it day and night.
Luddites like you are just a fart in the wind because you think blockchain
is some fad new technology that came to life when Nakamoto developed Bitcoin.
The truth is that blockchain builds on the past 7 decades of human knowledge and has the potential to solve real problems and make the world a better place for everyone, objectively.
It is the future.
> trustless verifications through ZK proofs
Gay techno babble
> unprecedented transparency in pretty much all operations due to public ledger
“Bro everyone can see every single transfer and purchase I ever made from this wallet and exactly where it went! I hecking love the destruction of financial privacy!”
> non inflationary currency or at the very least a currency resilient to central/govt. manipulation
LOL
> DeFi banking, also includes things like automated investing in the financial markets
Worse than traditional banking, less private, less stable, less secure
> enhanced security for sensitive data
Wrong
> better governance because increased transparency automatically brings accountability
Hahahahahah
You have the naivety of an 8 year old and the false confidence of a 13 year old. Interesting combination
> trustless verifications through ZK proofs
"I don't understand zero knowledge proofs because CS is hard." I know moron. Stay in your lane.
> “Bro everyone can see every single transfer and purchase I ever made from this wallet and exactly where it went! I hecking love the destruction of financial privacy!”
Nice strawman moron - it's not just about wallet - transparency has many applications from supply chain to healthcare
> LOL
Not a valid argument
> Worse than traditional banking, less private, less stable, less secure
Again, you say it's worse but don't elaborate how. Fractional Reserve Banking suits cattle shit like you, to be fair.
> Wrong
Wrong
> Hahahahahah
Hahahahahah
You are literally a mouthbreathing mongoloid piece of dogshit. have a nice day shitskin.
>Zero knowledge proof crypto
How about just removing the line that says sender and receiver from the Blockchain...
>Blockchain has legitimate applications and would make this world a better place.
Thank you for automatically invalidating any argument you had kek. Saved me a lot of reading time
>Talks about "Le ebin react cult"
>Believes in Blockchain
Like clockwork lmfao
Your critical thinking is shit if you think one unrelated argument invalidates another, especially because the conveyor of the argument holds certain beliefs.
Existence of scams doesn't invalidate the underlying technology.
Human greed is human greed.
I do sense a mild regret from you gays for not hopping on the gravy train.
I did back my beliefs with my arguments
Now what do you frickers have to say about yours? Just because you got scammed by pajeets doesn't mean blockchain is shit. It only means that your brains are shit, or at least severely dysfunctional due to greed.
>Your critical thinking is shit if you think one unrelated argument invalidates another
Not if the belief shows the person is a moron. You wouldn't talk to a flatearther about astronomy now would you?
Flatearth and astronomy are related topics.
It seems you're the moron.
Got it.
>Bockjane will sabe da worl!!!!
Come on my fellow apes if we just give away enough of our money into these scam project eventually one of them will make us rich!!!
Don’t waste another fricking minute then. Get off your ass, find a company that does interesting shit and has a small group of people you jive with. Your life will improve dramatically
As an Angular dev who wanted to get into React, the way Redux is used is very confusing.
If you're to moronic to build custom context classes manually (this is actually what real enterprise react devs do) and don't like redux, just use Zustand. It makes state management babby tier
I like Redux in Angular (even though it is a chore).
>even though it is a chore
Literally everything in angular is a chore lmao
I feel like I spend 3x more even on tiny angular components vs the time it would take me to write them in react
>it's significantly easier to wrap your head around React than Angular.
angular does most of the initial shit for you and uses TS. angular is easier.
Angular is for enterprise code monkeys who need google to tell them how to structure their files.
react is cargo cult enterprise shit as well
Nope. React lets your team decide file structure, state management, routing etc. based on the specific needs of the project. Angular is used by companies so that they can swap in developers in and out since every Angular project is the same cookie cutter bullshit.
React gays are the cniles of web development: "I know better". The result is an unbearable mess
You cant think for yourself. Pajeets at Google decide how you create your project
Nope, React is used by because people are too moronic to use vanilla js. Anyway, the first thing people do when they use React is use NextJS which has all of that stuff included.
>people are too moronic to use vanilla js.
Vanilla JS is shit.
JS is a terrible language and we only use it because it's the only language browsers understand.
React fixes one big problem JS has which is the terrible, terrible way it interacts with the DOM. did I mention the DOM is also shit?
let me guess, you tried web dev, failed, know zero programming languages, and yet you still come here and complain every day.
Nope.
I started my own company, doing web dev full time, business is doing great.
I also know C, C++, Java, Prolog (lol) and LISP.
I don't hate web dev, I'm just not going to pretend JS is a good language or that insisting on using vanilla JS makes you smart.
Nah, you're absolutely right.
The only reason JS is used because it's the only one that can be used.
Imagine if Chrome actually went ahead with the Dart VM inside of it.
Admittedly the first implementation of Dart was dogshit (static typing not enforced) but it got pretty got in later years.
At the very least we'd have had another compile target.
But on a serious note, give PureScript a try. It compiles to really performant JS.
Dart is fricking dead
> let me guess, you tried web dev, failed, know zero programming languages, and yet you still come here and complain every day.
that's me and I can't cope with it
You don't know what you are talking about. React was used when there were no such thing as components or modules in javascript / DOM, and was to fit a very specific use case at Facebook.
Cope more, homosexual.
All frontend devs are monkeys.
>not needing to implement some esoteric design pattern from scratch
basado
Can confirm. Ended up using Vue.
>filters white people
>filters boilerplate snippet professionals
Almost got filtered trying to update states in one component from another without resorting to Redux.
Everything about React is unintuitive. having to pass in setState
This. It was a lot easier 3 years ago with class based components.
Wait till you find out that Angular uses Observables which doesn't even make it idiomatic JS anymore.
In JS promises won.
Redux breaks React's state variables and forces you to make everything global.
>Context
>used by morons who can't into vanilla js
>filters primes
Didn’t he technically filter non-primes? … or am I letting modern usage of “filtered” redefine my vocabulary…?
No, he filtered primes, both usages are the same,
if you are in a stream passing through a filter, would mean that you did not get filtered.
When you filter water, what exactly gets filtered?
The water or the impurities?
There is a third usage, "filtered water" as shorthand for "water that has had particles filtered from it"
filters zoomers
NOOOOO NOOOO IT'S CARTOON SWEARING IT'S A DEAD LANGUAGE NOOOOOO
Not even a language, just use C. The overhead of learning scripting languages to do something simple in C is not worth
That you think learning a scripting language is harder than doing fricking text processing in C tells me you are a larper who doesn't write code at all.
Only morons need restrictions and limits on freedom.
For me? It's svelte
>packages an entire web browser with your application
Shared package indexes coming default with chrome will be the next logical evolution, making React absolutely BTFO any other library or framework since it will be 10x faster
gonna work through that soon. I really hate building near enterprise solutions on vanilla javascript.
WHY do i make that?
Because employers are moronic, teammates might be moronic, too.
I might be the one to do it all on my self.
I had the displeasure to work with very incompetent colleagues in blue collar jobs.
Why shouldn't happen the same here?
Pic related. Hopefully I am out of germany soon
>1990
Yeah I let progressive take total control of the country, not like they can ruin it or anything stupid americans.
>2022
HOW COULD THIS HAPPEN
>2030
*Invades all of europe, genocide of mudslime and israelites*
>2034
America and Russia divide the country again.
>Hopefully I am out of germany soon
Try and leave before winter, it's going to be a cold one. Stay safe fren.
Why not heat your home with the burning corpses of degenerates and the inferior races?
homie asking real questions here
Hitler was pro-Muslim and regularly opined that he wished that the German population was Muslim.
Sure, I know Muslim isn't a race, but he also considered the Japanese honorary Aryans.
Is the cold supposed to kill us all before or after the Great Reset which you guys have been predicting to occur every month since 2021?
>stops importing Russian gas
But that's not what is happening. Russia simply stopped delivering what was contracted.
>inb4 muh sanctions
Don't attack countries and threaten us with nukes you fricking morons.
Leftypol supports Russia because they believe israelitetin is the new harbringer of communsim and the USSR. Frick that non-white muslim shithole Russia that keeps sending us Black folk and Arabs.
React was literally invented specifically for morons.
It's better than writing raw JS, though, I'll give it that. Then again, sticking your wiener in a meat grinder is better than writing JS.
>It's better than writing raw JS
A small wrapper around web components API is all you need and it will allow you to write less code than React. The thing is, you are all deciding on React vs Angular because of jobs, not because of what tech is best.
React users take a week to decide which framework to use to send a fetch request from the browser. Is it React Query? Should we use GraphQL? Oh no, we are supposed to abort the query as useEffect return value. Argh all my shit is looping because I forgot a dependency!#$@$
Consider the following: stop cobbling dogshit "frameworks" together
I'm learning React now as an Angular dev and it feels janky af. Is it really like this?
With Angular everything comes out of the box and is excellent and first party, but for React to get the same feature-set for an actual application I have to pick and choose different libraries written by different people and somehow make them work cohesively together. I tried adding TypeScript to it and that was an awful experience as well compared to Angular. I'm honestly surprised as I heard most people say they like it more than Angular but it's just a mess it appears. I'm only learning it because Angular's marketshare is dwindling and it pays about 20% higher in my country.
Some questions:
1. What are Angular's 'services' equivalents in React? What about Guards?
2. How do you communicate with siblings/parents? Is redux/context the only answer?
3. Is CRA worth using or is it just bloat?
I haven't used Angular, so can't answer 1.
2:
redux/context. otherwise, you can just pass state and setState via the props.
3.
CRA isn't that popular anymore I don't think. I don't use React any more, but I believe most people use NextJS because most of the shit is built in. I don't think you want to start from nothing otherwise you will be spending weeks just finding the various libraries and setting up webpack and so on to get it working.
Redux is terrible and the sole fact you need it to build any real life application with React proves how broken this framework is
The beauty of React is that there is a tons of way to do what you want, you want global state management?
>Redux
Dont like it?
>Modern Redux Toolkit
Don't like it?
>Zustand
Dont like it?
>Mobx
Dont like it?
>Context
And so on. Everyone can find something
Why not just have a default global state that just let you set a single component and be accessible everywhere instead of that mess of stores and whatever?
I did a React bootcamp and it's exactly like people in this thread are saying, you just start installing shit on top of shit.
I'm not against modularity but ffs how do you make any applications if your components can't communicate which other?
>Why not just have a default global state that just let you set a single component and be accessible everywhere instead of that mess of stores and whatever?
Literally Context API you ape
>Context API
lmao that was not a thing many versions back
Also frick the React website, back then it was black lives and now Ukraine. Onions react devs just can't stay away of virtue signaling.
>lmao that was not a thing many versions back
Indeed but since like 2018 it is so you can stop crying
>2018
I'm surprised my bootcamp teachers didn't talked about that, they are morons.
If you want a hybrid isomorphic framework, go for Next.
Want to build an SPA without bloat? Use Vite to scaffold the app.
>Is CRA worth using or is it just bloat?
I would avoid it if possible. I use Vite as a drop-in replacement for CRA, it's way faster and more enjoyable to work with
I use it but there's something unholy about all modern web frameworks, like I'm communicating with a magical box that gives me outputs instead of doing actual programming. I have no fricking clue what's really going on.
Yeah that is because of the reactivity shit. Whenever they feel like it, they will do their thing asynchronously and your code is just a suggestion.
>I have no fricking clue what's really going on.
That's what OP meant by "filtering morons"
Give me one use case for React where its ACTUALLY better than vanilla JS. Just one. I will wait. I have asked this question 20 times and have never got a good answer.
const homosexualButton = () => {
const [name, setName] = useState('anon');
return <div>
<p>{name}</p>
<button onClick={() => setName('gaygit)}>
Click me to see your name
</button>
</div>
}
In JS:
const homosexualDiv = document.querySelector('div);
const button = document.querySelector('button);
button.addEvenListener('click', () => homosexualDiv.innerText = 'gaygit');
Just the JS, go write the HTML in a separate file. And btw, you'll have no way of knowing what event listeners are attached
by looking at the HTML. In fact, you won't know jack squat looking at the HTML.
In my library (github.com/thebinarysearchtree/artwork), which is a thin wrapper over web components, that button is:
class homosexualButton {
render() {
const { p, button } = elements;
p.innerText = 'anon';
button.innerText = 'Click me to see your name';
onClick(button, () => p.innerText = 'gaygit');
return div([p, button]);
}
}
Yeah, I'm a big fan of web components. Precisely because they're native.
You should look into Imba, they use web components under the hood.
Tightly coupled? It was a small example and won't expand in the way you think it would.
Moreover, separation of concerns doesn't mean separation of file types.
As long as the single responsibility principle is adhered to, everything is fine.
Angular is used to build full fledged frontends for web apps.
React is a view rendering library that requires a ton of other libraries in order to build a full fledged SPA.
why the frick would you want to tightly couple every part of your application
reminder that functional components were invented because react developers couldn't understand "this"
why no one uses next js for most of the websites, it can easily replace wordpress
so much faster and can easily add content by incremental builds
wtf are you talking about? every codemokey does react and frontend. even by gym receptionist is learning that shit.
Learning React, can any one link a more or less basic CRUD app where state management is done properly and which doesn't use Redux etc? Is Context proper solution for this?
Stay the frick away from context as well as Redux.
Use Zustand. Simple, elegant, and global by default.
If you're that autistic about the redux/reducer patten then you can implement that as well inside Zustand. Infinite freedom.
>webdev
Not real programmers btw
you're not a real programmer
Offensive security research is 100000x more complex than webdev. Try again
>Offensive security research
>t. a kid
>butthurt projecting when faced with reality
Every time. Checkmate dork
Your entire field is just a formality so that when a breach happens they can say they did their due diligence then turn around and blame you legally lmao
you mean filter non-morons, because React is literally framework for complete braindead developers to produce something useful
Destroys everyone.
Simplicity, Fastest framework in the game.
SolidJS destroys Svelte.
Also, Svelte is too magical.
Solids syntax is as uncomfortable as Reacts
svelte is the real gigachad, everything feels vanilla working in svelte
>compiled
kek with react I can paste 3 lines of script tags and get started. can you do the same?
any non-trivial react project will have a build step
const $ = (id) => { return document.getElementById(id); };
all you need
(-> js/document
(.getElementById "id"))
const $ = (selector, el) => (el || document).querySelector(selector);
const $$ = (selector, el) => [...(el || document).querySelectorAll(selector)];
pmuch what i use in production, except i use $ for byId (performance consideration), and $$/$$$ for the other two
>filters React brainlets
I'm currently working as front end dev on a gigantic legacy application.
We (specially me) want to move from vanilla JS and jQuery spaghetti fest into something more pleasant and maintainable.
React was our first thought, because the company we're working with uses it and because I know it.
But honestly I'm having second thoughts about this.
React offers too much freedom imo and I don't think this is something necessarily good if you plan on building an enterprise app and also I don't trust anyone here enough to let them do whatever the frick they want when it comes to front end.
I wanted to dig int Svelte, due to simplicity and performance but I'm also considering Angular.
Anyone with experience in a similar situation can enlighten me?
Enterprise setting = Angular
Why?
Because of the employee turnover in enterprises you NEED something rigid enough that will force everyone to code the same way and safely. If you can provide this kind of moron-proof environment with React go for it (I genuinely think it's more fun to code with React) otherwise stick to Angular.
>you NEED something rigid enough that will force everyone to code the same way and safely
That's exactly what I was thinking. Full stack guys here are decent but their JS is pretty bad imo, on top of outdated. I could try to implement some rules and guidelines using React but I'm 100% sure they are not going to follow them, so ideally I need something where following those guidelines isn't optional.
If that was true then why are the majority of JS jobs in corpos right now in React?
I live in Europe and the majority of enterprise jobs are in Angular. Both are good but it's easier to get an inmaintenable mess with React than Angular. React is mostly used by startups in France.
>React is mostly used by startups in France.
kek
you visited every company in Europe to say that?
LMFAOO
I visited the job offers available for someone with masters degrees and 5 years of experience. Keep drinking the need koolaid moron.
I live in Europe (not France) and there are plenty of React shops (my company included)
have a nice day
>implying reacts wasn't made for morons who couldn't even understand web components and other vanilla js and jquery shit
That's what I should learn, but it's kind of boring.
Services + RxJS alone let Angular mog on React. Stay in your Facebook framework. The Angular filter makes the jobs higher paying anyway.
>Services + RxJS alone let Angular mog on React
Is that why nobody uses Angular anymore in new project instead they opt for Angular-but-not-shit ie Vue?
>Angular-but-not-shit ie Vue
that was Vue2.
Vue3 is a React clone with Composition API being their hooks.
Still better than Angular and its unofficial succesor
WebShit newbies and startups like React because it's quick to start developing and easy to find devs (90% of the time these devs are overpaid idiots)
Like a few people have pointed out in this thread already React is dependency and management hell in the long run because by design there is no "right" way to do something. Angular fixes this by being opinionated and having a set way of doing things that are easy to implement and understand at a glance.
This all makes Angular projects sensible and easy to work with if you have a modicum of understanding (and way less reliant on seniors reviewing junior work), while React lets these bugmen (that have a shitty reminder app on top of their resume) run wild and projectile vomit all over the place for years before it's time to switch to the next buzzword library.
>before it's time to switch to the next buzzword library
Hilarious you say this while React has been on top far longer than Angular has
React is almost 10 years old and dominant since 5 years while Google killed AngularJS
It's dominant in the same way that there are more fast food workers than lawyers
Not the same thing, being a lawyer requires much more effort than being a fast food worker. Thats why there is a smaller amount of them.
The effort required to learn React and Angular is the same, frick some would argue React is harder. People just prefer React
Most react monkeys couldn't write and subscribe to an Observable if their life depended on it.
why would you use angular patterns in react?
Most React projects gravitate towards being a bad implementation of Angular
name one react project that does di
When you start enforcing conventions in a React project, you end up with a shitty version of Angular.
Just like when you start using vanilla JS, you end up writing a shitty JS framework.
CRA is more performant than Angular insofar as you keep it completely featureless, when you start adding necessary components like react-router and Redux the complexity increases exponentially (all to get features Angular already has, and you know won't have to be swapped for the next big popular library that crops up)
>CRA
>react-router
>Redux
no one uses those anymore for years.
we have Nextjs now.
>we have Nextjs now
And tomorrow you will have some other next big React framework that promises to solve all of the problems with React, won't you Rajesh?
No, because React is getting more and more popular every day while angular is on the opposite trajectory :^) keep seething tho
See
Yup, Reactards have agreed that React is the best thing since sliced bread.
Now the only thing left to agree upon is what else to use to build shit as React is only a view rendering engine.
So now, we start getting things like Next.js, Gatsby, Blitz.js, RedwoodJS, Remix.
Let's say that the React cultists do manage to settle on one of the above then the next point of contention would be libraries to use for features not included with the framework.
This fervor kinda reminds me of mudslimes with their 72 sects, murdering and raping each for the one true religion.
Angular is like a Rolls Royce with a chauffeur.
React is like the Flinstones buggy. Looks like a car but the driver just pushes boulders around and shits his pants in the end.
You ever wonder why new shit looks like React/is built on top of it and not Angular? Because ANGULAR
FRICKING
SUCKS
Because Angular doesn't need anything on TOP of it because it's already feature complete.
moron.
How about SSR which only does through Universal which fricking sucks massive dick compared to Next
Refer to this
Basically, if you want true SSR (one rarely does) then learn to build a proper backend.
Isomorphic dogshit frameworks like Next don't take you far and rarely scale.
Next.Js is true SSR, works fricking great, tons of insanely popular website use it, and guess what, it uses...oh god no.....React!
>true SSR
Sure thing buddy.
This is why they beg throughout their entire documentation to use SSG when you can help it.
Hipsters like you come and exclaim "what about SSR?" but SSR is nothing more than a buzzword to you. Do let me know of a usecase that you're dealing with now that requires true SSR.
Ever ask yourself whether a thing like SSR is even the responsibility of a frontend framework?
The answer is a loud resounding NO.
Using a hybrid mongrel framework like Next is just pozzed.
>she doesn't know about react server components
>Isomorphic dogshit frameworks like Next don't take you far and rarely scale
>Runs fricking ticketmaster and united airlines
fricking moron, more users in an hour and more computing required than in all of your apps ever
Cucked by Vercel through vendor lock in.
NextJS will never be a fullstack framework.
It will only be used by frontend monkeys like you for apps that don't require a proper backend.
get a job.
backend and frontend are always separate.
our backend is not minimal.
our backend team would kill you if you suggested node.
They have a proper backend. Try again moron.
As if serving a certain number of users is ever a frontend feat.
> your brain as a frontend monkey
Either an ex-barista or a shitskin. Go back to being a barista, moron, or go back to the shithole you came from.
Have you even built something in Angular, let alone working on something significant?
Or are you just regurgitating what the cultists taught you?
Your impotent rage reminds me of mudslimes raging at kuffars.
Yes the front-end of my bachelor project was made in Angular (because the other guy from the team wanted it). Did YOU code anything in modern React?
I've only coded in React professionally (including Big Tech), and now finally see it for the cult it is after three years.
Won't deny hooks is much better than that class shit, holy shit what were those days.
But I'm gonna be out soon.
>Muh cult
Literally so many mentions of this and not a single explanation why. Liking react over angular doesn't mean you're in a cult.
since when does Angular have SSR?
Angular's ecosystem is a lot smaller than React's and the gap is only going to become a bigger problem.
React will soon replace SSR with server components and Angular has nothing at all.
>this fricking cope
lmao, your shitty ass framework is not some einstein brain requiring piece of technology, its the same fricking shit, and i work in all of 3 because we have projects in my company in Vue,React,Ang and even fricking Jquery still
RxJS does better reactive FP than React.
Cope, seethe, and dilate onions.
in practice people using Angular treat Observable subscribe() like it is just a bad non-conforming Promise then() in nearly every project including examples baked into Angular's own awful documentation and many "Production" libraries out there
says the one using a framework that uses fricking dependency injection in javascript, a dynamic language.
there's zero need for dependency injection in a dynamic language.
no one else is this moronic.
>The effort required to learn React and Angular is the same
>React is dependency and management hell in the long run because by design there is no "right" way to do something.
Once again googlegays prove they need literal handholding otherwise they won't survive in the big bad world of application development.
morons like you HATE android because you can choose between multiple dependency injection methods and libraries, and LOVE iOS because you don't have to think for yourself, you simply get no choice.
>Services + RxJS alone let Angular mog on React
No matter what you think "mogs" react, react already has it.
https://github.com/re-rxjs/react-rxjs
Also, Services are literally just a design pattern. Absolutely nothing is preventing you from doing the same thing in react kek
Not needed. Just create a basic socket server and bind it to 127.0.0.1 and then write the interface in html/css and js. Setup the onclicks to go to http://127.0.0.1/onBtnClick.
Simple. Only morons use frameworks.
kek
maybe for your hello world app, pal
lmfaooo
>filters everyone because its another temporary hype bubble
>temporary
Since like 2017 its the most popular, and its not going to change, frick the gap is even getting bigger. Literally every meme JS shit that is releasing now like Remix or Solid or whatever the frick is based on React
solid isn't based on react. only inspired by.
It's inspired by KnockoutJS (which has been dead for a while now).
Solid is basically Knockout with JSX. However, Solid JSX is different from React JSX and have different compilers.
The only thing that has ever filtered me is Python's import system. What a crock.
>webshit
plain html or bust
js has overstayed its welcome
It's all the same shit.
None of them is hard to learn.
react is very good for its simplicity but at the same time, it's its biggest drawback. for it to provide any use in a product, you have to stack external dependencies throughout like a bunch of shit for your build process, something to not make styling a chore, you have to add a routing package just because, you will end up adding an external state library (shoutouts to zustand) because react state is a bit naive by default. sure context is great but is also annoying firing renders.
it's no surprise that something like nextjs is popular because it hides away a lot of the react drawbacks/missing features away in the background somewhere. as a react dev for 5 years, i'm becoming more and more convinced that react will soon be supplanted by a better tool
>convinced that react will soon be supplanted by a better tool
why's that?
you just said that nextjs solves react's biggest drawback.
probably solidjs
yes but you don't add them from react. you have to pick and choose packages from random third parties and pray that they keep them maintained and don't provide aids opinionated api's
the biggest selling point of react is that it's maintained by the one of the biggest companies in the world and comes with an inherent trust so why do you then have to outsource the main actual useful bits to literally who's like ryan florence who now want to shill you their own shitty service
I remember the time when Angular 2 saw reduced adoption because it enforced TypeScript.
React devs were like:
> OOP is so ewww
> why make our pretty and functional JS ugly with type annotations
Fast forward today and almost every serious React project uses TS.
My point is that Angular is a well engineered framework and the hate it gets is not only
unjustified but straight up ignorant, especially when you consider that React devs have been
slowly and steadily bringing in what the Angular team had the foresight to ship by default.
I too, hate React monkeys. No brains but smug in their moronation.
It's almost like ... You only add features you want to use... Woah
compare to full-featured frameworks from ages past like rails.
if you want a feature, you just add a rails plugin.
you don't need to decide which among all those libraries for that feature is the correct one.
you don't need to write any glue code yourself.
your development velocity is a lot faster due to that.
Oh boy, as a backend chad it has been fun reading all this shit.
Frontend was never a thing.
Take Django, Rails, or Spring - fullstack frameworks and SSR have always been the norm.
Until the point frontend went to a whole new level of shit. When backend chads got sick of it, that's when these frontend monkeys were imported to do the menial labor.
Stop thinking you guys are relevant. You're monkeys overengineering things to seem human.
That being said, I'd have an Angular dev on my team over a React one any day. They tend to know proper design patterns and can even contribute to backend sometimes.
Fricking hate React monkeys though. Brainless and arrogant and always asking shit questions.
don't use modern terms for old tech.
no one called rendering html templates on the backend SSR.
can't rehydrate those html templates either.
Yes, because that would have been moronic.
Nothing gets rendered on the server. It only renders on the client, be it SPA or static HTML.
why would you use a MVC framework if you only want to serve static html?
nginx is perfectly fine for just serving static html.
>design patterns
as a c# backend developer. this shit doesnt matter at all lmao
>uses .net
>doesn't understand dependency injection
this will not end well
All webshitters are codemonkeys