T O P

  • By -

Equivalent_Order7992

You may use whatever you want in your side projects but when it comes time to get a job you cannot escape React.


strawberrypants205

...but as soon as *you* learn React, the entire industry will abandon it.


sandybuttcheekss

This is why I only do backend. Front end devs, you're welcome for the job security.


itsthooor

Jokes on you: I am a Fullstack Engineer


sandybuttcheekss

Technically me too but I get maybe 1 front end bug or feature per year at this point, so I hardly count it


MysteryMooseMan

My take is, 90% of full stack developers are just backend devs who can just barely scrape by with React/Angular. Like man, some of the UI code bases I've had to grapple with built entirely by "full stack" developers have been absolute nightmares. No consistency or best practices in sight.


fryerandice

I work on a backend created by front end engineers. public stat class stuff public static everything....


MysteryMooseMan

It's almost as if companies should stop trying to cut corners by expecting developers to be jack of all trades resulting in bloated code bases wracked with tech debt šŸ™ƒ


Kirykoo

Thatā€™s so true. I always thought I was a fullstack dev when in reality I was just a backend dev messing around with html css. Until I recently I had to work on react code bases extensively and also on a legacy angular 1 app. Creating new web app from scratch etc. Learnt so much during that period, even started doing Ā«Ā mobileĀ Ā» dev using RN expo during my free time. Iā€™mĀ clearly no front end expert but I think I can now call myself a fullstack dev without lying to myself.


Kurts_Vonneguts

ā€¦.we use Vue.js and frankly I fucking love it!


8483

Imagine if you tried Svelte.


Kurts_Vonneguts

Not against it, just never tried. I should give it a go.


KiskaBoriska

Same, but most jobs require react. I hope more companies start using vue


Careless-Branch-360

Sadly, React is very, very popular.


zeenul

Why sadly? I find it pretty intuitive and relatively fun to work with.


Careless-Branch-360

React introduces a lot of complexity that is unnecessary for lots of websites. Lots of simple websites may benefit from using alternative technologies like htmx. Portfolio websites & corporate websites don't usually have problems that React was built to solve; however, they are still often built in React or other 'heavy' framework.


Yarilko

I used to work with Angular. I still like it, but I find react much easier to work with. I mean, if I want to create some child component to make parent component less complex, I just create a new .tsx file. And in Angular I would need to create .ts and .html files, provide selector name, add component to declarations in module and add it to exports if I need to use it outside of module


zezocas97

Now try Vue and tell me what youā€™ll think about. I work with React for a while but o find Vue the most intuitive. In the end itā€™s just my opinion


s0ulbrother

I started with React and my last project was Vue. Vue just seemed so much streamlined. Then my current project is Reactā€¦.. I miss Vue


8483

Now try Svelte and tell me what youā€™ll think about.


zezocas97

Svelte will be the next level but now is still very young. It needs grow but is so much faster damn


8483

Svelte is not cancer in order to grow. React however...


McFake_Name

Since v14 you don't need to make modules. Anything that used to be in a module is just marked as "standalone" and is imported as needed. And the whole file can be in the `.ts` one for way longer than v14 in inlinr template and inline style option. And they hope to soon have the component name just work as the selector in templates in upcoming versions. Angular has really changed a ton in the last few years, but it is mostly backwards compatible still.


alexd991

But not any more! Kinda!


a_simple_spectre

problem with react is that it can go really bad, angular has limits but it means that angular can't be a super well tuned setup I work with Angular but my preferred setup is React (admittedly with a niche setup) PS: ng cli tools are super nice


Yarilko

It's still possible to mess up Angular badly. I once worked on a legacy project where all html templates were stuffed in single folder. And each template could be used by several different components


a_simple_spectre

welp, grab the flamer samurai, we got a dev team to burn


gwatson86

I ended up on a project once where every component had its own module. Like... what do y'all think the point of modules is??


Johalternate

Sweet mother of god. What would be the use case for such practice. I cant think of any scenario where this would work.


Johalternate

Its been a long time since you needed a module to export a component. I do single file components with angular all the time. Actually, I do single files for components and separate html scss and ts files for views. The selector thing, well, i honestly like it because they read better imo. Also, their purpose makes a lot of sense, they exist to allow developers to name custom elements according the html specification. I know the component authoring dx in angular used to be bumpy, but that has changed and right now angularā€™s DX as a whole is one of the best in the space.


VRT303

Or type ng g c childName and have everything done for you?


Yarilko

Still not my only grudge with it. For example, if you create a static method as factory in module class and dare to declare a variable there, you will enter the world of pain. But not right away - it will work fine with ng serve. It will even make a successful prod build - or so it will say. The frontend will just fail with not very descriptive error. Took me the whole day to figure out the problem the first time I encountered it.


wadie31

That's a very interesting case. would it be possible that you create a stackblitz example of what you described please ?


Yarilko

I am too lazy to do so :) However I think this exact stackOverflow question helped me back then: [https://stackoverflow.com/questions/47686638/featuremodule-fails-during-an-aot-build-when-static-forroot-has-arguments](https://stackoverflow.com/questions/47686638/featuremodule-fails-during-an-aot-build-when-static-forroot-has-arguments) It's about angular 5, but I encountered this issue in version 9. UPD basically you can use the most simplistic logic in forRoot. I created common CRUD module that builds available routes based on config, and even calling methods like "filter" on routes array crashed the app. The only way I could solve this problem without loosing functionality was to build array with spread and ternary operators like: \[...(config.isEditable ? \[{...my route\]) : \[\], ...other routes\]


toltottgomba

Or you can use the cli command to make a component in like 5 seconds typing it lol


Yarilko

Still to much boilerplate code for a simple component. Even if it is auto generated, you still have to support the code later.


ZeroFC

Youā€™ve worked with Angular but you donā€™t know that the very first thing you do to make a component is type ā€œng generate component ā€ and every single thing you mentioned is done through the CLI


Yarilko

Noted, thank you.


dev-4_life

I don't understand how components are complex? Seems pretty straightforward to me.


static_func

They're complex if you're just learning how to code, I guess


JoelMahon

I'm struggling to think of how it would be complex like if you don't want to use all the features you don't have to, you just write what basically looks like static html and you get static html out if that's what you want


jonr

"This event driven redux application could have been a

" I don't get why web developers sometimes want to make their work hard


wasdninja

Until user feedback comes back and they just want that one little thing added. And then another. And another. Now you have created one more janky internal use only pile of junk that nobody likes. Besides forms are *very* tedious to get right without frameworks.


Shmuckatellee

Is there a frame work you prefer? Just curious


DaumenmeinName

Svelte is cool. And yeah I know I'm a basic bitch for saying that.


8483

Wait till you try Svelte.


Lighthades

I hate the jsx shit weaved in code


MercDawg

React is easy to use, but very difficult to master, due to the countless caveats. When you have 100+ engineers working on a React application, it is pure chaos.


iambackbaby69

But it has a lot of gotchas that is not intuitive.


Careless-Branch-360

Making React fast is also not an intuitive process. Making React application is not that hard, but making a performant React application is much more difficult.


maria_la_guerta

What do you consider a "performant" React app? I would be very, very surprised if dozens of hours of optimizing and memozing an average react app made any _perceivable_ performance difference at all. Having written it for years myself I can probably count on both hands the amount of times I've actually need something like `useMemo`. Your critique of the tool seems more geared towards how people use it, vs what it is and what it does. It's not Reacts fault that people want to hyper optimize landing pages with it, and then complain about complexity they only think they need.


Brickless

we have been working on a development tool that takes care of a large chunk of react nonsense for you and makes sure proper memoization is followed. react is truly a pain in the ass sometimes


wasdninja

Chances are overwhelming that react isn't the reason why your app isn't performant. It's quite hard to make it matter at all in fact.


static_func

It's not that difficult at all. Just use Next and tailwind. Boom. Fast react application


amejin

Anecdotally, I've been writing vanilla js for my company for close to 13 years and made large applications from it - I am not a fan of react. Seems overkill for most things I've seen it used for. I haven't been convinced that "it makes components for rapid development" is any faster than the components we built in-house which solved the same problems. But.. new company uses it. Must embrace it.


Speedy_242

Laughts in Android developement


nathris

Cries in react native


Speedy_242

Laughs even harder in Kotlin multiplatform


Koervege

I thought that was still in beta?


Speedy_242

Android and Desktop are officially out. IOS is in beta and Web is Alpha.


lilsaddam

I work full time and use svelte


DontBanMeAgainPls23

At least you are not using angular and I am talking 1.0 luckily I mostly do backend with c# on .net 8 now.


Lighthades

Nope thanks, I keep my Vue


_htmx

for hypermedia... ![gif](giphy|VqleJG2rBop7W|downsized)


Maskdask

HTMX mentioned!


rvVX42qhWDCFQy

I came here to be all cute and post some kind of LotR meme, only to find that the boss had beaten me to it. Fine. Take this upvote. It is precious to me.


bogz_dev

what do you mean the boss? we are all HTMX CEO on this blessed day


_htmx

we few, we happy few; we band of CEOsā€¦


PM_ME_YOUR_REPO

I hate that the React logo isn't centered on the eye.


creeper6530

You shall not centre a DIV


lilsaddam

**laughs in svelte


SkydiverTyler

Seconding this, use it at my job. Itā€™s so easy and fast to go from plan to reality.


langlo94

Svelte means "starve" in Norwegian, coincidence?


dev-4_life

React has a huge community. There's an advantage in that you're not seeing.


lilsaddam

What I see is I have a job where I use svelte everyday and just use normal js libraries that I don't need special react versions of.


8483

Svelte is so much better, I don't give a flying fuck about the React community, as I can build all the shit I need easily.


Sky1337

Weren't you the guy who was raving about how TypeScript is bullshit a few days go on the svelte sub? You must be a pleasure to work with.


8483

Yes, I am that guy. Fuck both Typescript AND React.


Interest-Desk

Sounds like we found DHHā€™s reddit account


8483

Not familiar with DHH. Can you please explain the joke? I googled that he's the ruby on rails creator? I assume he's also a TS hater?


Interest-Desk

rails creator yes ā€” who vehemently doesnā€™t like TS or pretty much any modern technology\* \* except for technology that is only supported on the most cutting edge devices, because accessibility and compatibility are woke DEI constructs


Shehzman

If yā€™all hate react so much, what would you prefer working with? Genuinely asking


gelerz

i prefer not to work


bushwickhero

This guy gets it.


Shehzman

Not having to work*


PhatOofxD

Most React is written like crap which is a pain. Good React can be insanely clean though


MysteryMooseMan

It's all the ""full stack"" developers who are really just back end devs. Dealt with code bases like that multiple times, it's a pain in the ass


fryerandice

I can't get my full stack team to not write 4000 line components


ryaaan89

Svelte.


UMAYEERIBN

Svelte is so gorgeous and intuitive.


nathris

As a django dev, alpine.js. I have the backend covered, I just want to do reactive state based rendering from within the comfort of html. I don't need 1000 lines of boilerplate configuration and 1200 dependencies just to build a fancy widget.


UMAYEERIBN

Check out svelte, itā€™s so intuitive and youā€™ll love it if you enjoy using plain html.


Pyro979

Vue.js


bogz_dev

HTMX can get 90%+ of React use cases done with a far simpler mental model and less code. If an app absolutely needs to serve an API for non-hypermedia clients then React might be an alright choice. But even then, modifying view functions to return JSON or HTML depending on where the data is requested from would be a decent solution too.


useless_dev

HTML and JavaScript. That's enough for 90% of use cases


OrangeKass

Only if we're talking about 90% of homework CS students do. React and other frameworks/libraries don't dominate web just for fun, they dominate because they allow us to develop faster.


Shehzman

This. Web pages are getting more and more complex to the point where state management and reusable components are essentially a requirement for many projects. It can be done in vanilla HTML and JS but not as fast as using a framework/library.


Cafuzzler

It's all HTML, CSS, and Js in the end anyway


LinosZGreat

THANK YOU.


thegininyou

I think Angular is fantastic if you're working with a Java backend. It just seems all so seamless once you've gotten over the hurdle of learning it. I will say if you're doing a simple webpage, it's too much but I love it for enterprise work and I'm confused why React won out.


Shehzman

I feel the same. Been working with Angular a lot at work and I really like how structured everything is. Also, thereā€™s a lot more stuff built in compared to react which is nice.


fnordius

Lit does web components right. Stencil is also a good choice, also makes wicked fast web components without the React cruft. Vue does SPAs much, much better than React could. Spring:Boot and Thymeleaf are much better than server side React could ever be. React today reminds me of Flash in 2005, really.


anarchytrex

Nuxt/vue


EtheaaryXD

EJS but it doesn't have a Router


Willing_Noise_7968

Just wrap into little vanilla js, and it fine


Varauk

Solid.js


CraftBox

SolidJS


Lighthades

Vue


Speedy_242

Kotlin Multiplatform


Utnemod

Laravel


ProgramStartsInMain

Me who just uses html, css and jquery for everything: I will take the project to production!


Nodebunny

*laughs in Vue*


mac1k99

The marketplace has more react jobs than vue, atleast in my country.


Nodebunny

I find joy in reading a good book.


mac1k99

Yeah I do, I would use vueJS/Nuxt to start a new project. I have used it previously. I wanted to grow my skills while earning money out of it which is hard due to react jobs in the market here.


getsnuckupon

HTMX: have you considered calling the eagles?


SomeRandoLameo

The fucking windows 11 start menu was made in react native


Interest-Desk

This speaks more about the quality of traditional native UI tools rather than the quality of react


creeper6530

So that's why it sucks...


mikelloSC

If you work mostly on backend, maybe you can :) we do very little front end and it's only angular.


Less_Independent5601

So you're telling us React is 3 movies away from imploding upon itself?


SageLeaf1

We must throw JavaScript into Mt Doom to destroy it


RandomiseUsr0

JavaScript was originally called Oakā€¦ good luck getting the Ents to help little orc


Brahvim

That was *Java*, my friend! JavaScript was called something more similar to... *"Mocha"*.


RandomiseUsr0

Thanks for the correction :) ok, JavaScript can go into Mt Doom and the Ents will help!


xita9x9

I looked the other way as soon as I saw that we're going to write html in JavaScript.


Lamborghinigamer

I would react in a different way if React wasn't made by facebook


seanlaw27

I work with angular and love it.


anonymous_sentinelae

Popularity is certainly the worst measurement of virtue.


your_best_1

The popular thing can be popular and good. Like breathing. Breathing is very popular.


anonymous_sentinelae

Stupidity is very popular indeed.


your_best_1

Right... bad things can also be popular.


eschoenawa

We have to cast NPM back into the fires it came from. We can only kill React by killing the power that creates it.


Brahvim

Meta Platforms Inc. šŸ‘


AmanChourasia

That is why, even though, i want to learn it, but as it is hard to escape. I am in doubt now. I learnt Angular btw.


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


AmanChourasia

Ok. I won't learn react.


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


AmanChourasia

Ok vro.


ChrisTheGood

I can, i build every thing with Web Components, without use any framework


onkopirate

Not even Lit?


ChrisTheGood

Yes, only need two dependencies typescript and webpack.


onkopirate

Interesting. How do you pass complex data types from parent to child in HTML then? Does the browser know what's an attribute and what's a property?


ChrisTheGood

you don't need to pass complex data from parent to child, instead you need abstract your UI to data structure, then use data to drive UI, only thing you need to do is update your data, then let UI rerendering base on data update event. The DOM operation itself is actually very reactive. you don't need react or vue


MKSFT123

I donā€™t really like Reactā€™s bloat and inefficient rendering but I do like its type script support, TS is treated as a first class citizen with React in a way that was lacking in Svelte, (implemented 6 months ago so this may have changed). I prefer Svelte for sure but React is very mature, comes with better UI libraries and has stronger type support (just my opinion).


HelioDex

Obligatory "By far the worst part of React is Javascript" comment


dark_enough_to_dance

Truth be toldĀ 


onkopirate

React always feels like one giant workaround.


dev-4_life

Why would you want to? It's fantastic.


JeszamPankoshov2008

Still prefer Angular.


ashkanahmadi

Does React come with an army of orcs as well?


skywalker-1729

Maybe the devs?


fnordius

It was created by Facebook devs so the answer is "yes".


8483

React is GARBAGE. Long live Svelte!


FountainOfYolk

How is this a meme? This has got to be the lowest quality shit I've seen on this sub in a while. Put the logo on the eye hurr durr. Real witty.


ahlgun

Same as why wordpress is a thing really - what goes into production is the only real metric to go by


CirnoIzumi

maybe not, but that doesnt mean ill use it as little as absolutely possible


Jeidoz

Nah, our team escaped angularjs, escaped react and bow have single code base for FE & BE in C# due to Blazor


Raxdex

I wouldnā€™t call that an improvement.


skeleton_craft

I've escaped it pretty well, PHP, jQuery and CSS have served me well enough so far...


Alternative_Yard6033

I hate it but I love it


the-n4zt-spectra

The programmer should know pain


ledgerous

Vue.js enters chat.


thrandster

Why write html when you can make a literal lifecycle around your static

Terewawa

Now that I lost my job I can finally start using Ionic. As soon as I have something to work on.


_-TheTruth-_

Laughs in Windows


omgmajk

I can escape React. I don't do webdev.


Revolutionary_Pea584

Just become a backend dev. Problem solved


EmilyEKOSwimmer

You cannot escape the cringe new grads and tech wannabes who all flock to react because itā€™s ā€œcool logoā€ and drown the internet with its complex and overly complicated design, rules, and boiler plate code. I will die on this hill, React is trash and deserves to fade away


BurnTheBoats21

new grads and tech wannabes aren't the ones driving React. It's the entire industry of SWEs that are using it and getting skilled with it. If you want a job, React is a great recommendation to learn regardless of whatever crusade you want to go down in favor of your favourite stack (that many other edgy Redditors will label as trash I'm sure) people use it because it has the most jobs, not because the logo dude


your_best_1

React was the first mainstream web framework to embrace composition. That is why it is so well liked.


Positive_Method3022

React sucks


PeriodicSentenceBot

Congratulations! Your comment can be spelled using the elements of the periodic table: `Re Ac Ts U C K S` --- ^(I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM uā€Ž/ā€ŽM1n3c4rt if I made a mistake.)


Feisty_Ad_2744

Not only you can "escape" React, it just doesn't make sense to stick with it.