DEV Community

Cover image for I hated React JS, but nowadays I can’t live without it…
Bishwas Bhandari
Bishwas Bhandari

Posted on • Updated on

I hated React JS, but nowadays I can’t live without it…

Six months ago I hated React JS for being so lengthy, I was like, “React Is the Worst”, but suddenly a miracle happened that forced me to start loving React JS. You might think miracles are not real, but after reading this you’ll start believing in them…

In the initial days of learning frontend Js frameworks, I tasted mainly two frontend frameworks; VueJS and Svelte. But there was something missing in both frameworks, that was simplicity.

React JS is undoubtedly more lengthy and bulky (while working) than Svelte or Vue Js. Svelte being the shortest syntax-ed Javascript framework, but still Svelte was not my type.

Svelte did a pretty significant Job with SvelteKit (like NextJs of ReactJs) but the issue was the two CSS files (import ./*.css) of separate pages being mixed up, and I had an uncozy feeling with that. Also, I wasn’t able to fix it, maybe that’s because the community wasn’t that huge enough.

And, the problem with VueJS is that its code is so ugly, that it has no pure syntax. For that reason, I have to leave Vue Js. Also, VueJs was just growing and I need server side-rendering, and with Vue3 that wasn’t possible at that time.

Finally, the moment of truth; I had to choose React JS, ’cause I had no choice, you might say I would have tasted Angular, but I was such brain-washed about Angular that there was no chance for me to check out Angular. No one likes Angular, at least in my circle!

I searched tutorials for React JS on YouTube, and I found it pretty simple to use. Indeed, it was lengthy and bulky to work, but it’s simple to use. Honestly, it was simple. It was easy to learn as well!

I tried making my own web apps with React JS without watching any tutorial, and it worked, I was able to make my own React Based webapp without watching tutorials. I felt like a miracle just happened. Well, I was pretty good at making web apps with Django, so maybe that helped there. Also, I had already two Django-based web apps on the production which are giving me passive income, so I wasn’t new at programming or webdev, I was just new a frontend JS frameworks.

So, I have decided to stay with React JS now, and live a happy life with React Js till eternity.

Also, nowadays I am migrating my Django Based webapps to NextJs/Django React Framwork Based webapps.

React JS is simple, flexible and easy to learn; so learn it and be an advocate of React JS. But ReactJS is definitely not beginner friendly, or is it?

Thanks for making our web community a family of 1.3K Members, Keep Up The Josh, guys!

Have a good day, please don’t hate any other JS frameworks, they’re just not my type.

Discussion (26)

Collapse
lucidmach profile image
Nukala Suraj

absolutely relate with you
i hated angular for no reason...
and also hated react cuz vanilla js was cool but then i tried svelte and found that it lacked community
but having tasted components couldn't go back to vanilla so now I'm happy with react... it's pretty simple

Collapse
developerbishwas profile image
Bishwas Bhandari Author

Yeah brother! Btw, what do you think about Vue.Js?

Collapse
lucidmach profile image
Nukala Suraj

well haven't felt the need to try it out so far...
like react is fine 🤷‍♀️

Thread Thread
developerbishwas profile image
Bishwas Bhandari Author

Yeah, react is cool!

Collapse
raibtoffoletto profile image
Raí B. Toffoletto

No one likes angular. period.
The other FE frameworks are fine, I mainly use react or nextjs, but I'd be very simple to switch to Vue or Svelte. They have different sintaxe but still same mental modeling. 😉

Collapse
developerbishwas profile image
Bishwas Bhandari Author

Have you tried Angular?

Collapse
raibtoffoletto profile image
Raí B. Toffoletto

Yes... I was there for v1 and v2... etc, but I still don't like it. But that's a personal preference. It forces you into a rigid structure that for most simple things are unnecessary in my point of view.

Collapse
andrewbaisden profile image
Andrew Baisden

When it finally clicks you get that "ah ha" moment. Couldn’t see myself replace React with another framework at this point. I have put so many hours into learning it and getting this good.

Plus with React Native you can easily build mobile apps I don't think any of the other major JavaScript frameworks have a combination on that level yet.

Collapse
capz profile image
Leroy

That's so funny. I feel the same way about react as you do about angular. React is so slow and messy to work with, angular so consistent and quick XD

Collapse
slidenerd profile image
slidenerd

but I can and its called Vue.js the daddy of React in every way

Collapse
developerbishwas profile image
Bishwas Bhandari Author

How?

Collapse
slidenerd profile image
slidenerd

write a simple component in vue vs react and you ll understand just how much better vue is terms of the code, clean architecture, template format etc

Collapse
shubhablogger profile image
Shubha Sandesh Blogger

Is React that simple bro? I don't think so. The pace of development gets so slow with React JS.

Collapse
lucidmach profile image
Nukala Suraj

Yea... once you really get the difference between props and state... React becomes really simple

Collapse
pramods98938158 profile image
Pramod Sharma

Depends on how good you're on development...

Collapse
jaecktec profile image
Constantin

With react I like the versatility. With angular I like the observable thought.

I find it easier to build REST structures with react. I find it easier to write web socket based apps with angular.

Collapse
developerbishwas profile image
Bishwas Bhandari Author

Wow, that's cool. What do you think about Vue JS?

Collapse
jaecktec profile image
Constantin

I have not done a serious application with it. I disliked the syntax with everything in one file, however I think if I'd start it again I'd have a different opinion (now that I learned react).

Typescript is a must IMHO. On small scale products it does not matter - I'd even say JS better because less overhead- , but if you plan to develop this over the span of multiple years with switchting developers the quality of code is so much better with typescript. (But please use webpack + esbuild... babel is so slow)

I want to figure out how to do nice SSR inside a Lambda function, Vue could be a candidate.

Technically I know how to archive it, however a proper DX that I haven't archived. (Auto refresh / Hot reloading. Proper error messages and stuff)

Collapse
dannyengelman profile image
Danny Engelman

+1 I am totally with you. React is the new Cobol.
Cobol developers now easily make 120K+
We have a financially bright future.

Collapse
developerbishwas profile image
Bishwas Bhandari Author

"Cobol developers now easily make 120K+"
You mean literally Cobol or React?

Collapse
dannyengelman profile image
Danny Engelman

React is the new Cobol, it will be around for many years:

stackoverflow.blog/2020/04/20/brus...

Collapse
jonrandy profile image
Jon Randy

I tolerate it, but still don't like it

Collapse
developerbishwas profile image
Bishwas Bhandari Author

You don't like it, but why?

Collapse
onais74 profile image
Onais Omar

Where should I start learning Js and React, any suggestions before I jump into that.😶‍🌫️

Collapse
developerbishwas profile image
Bishwas Bhandari Author

You can go for video of Sonny Sanga in the internet.