Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@ArtNo actually I was thinking of that, I hear it's gaining traction. I'll check it out!
-
In my opinion the hardest part about react is getting it to work with the many items required to make a 'real' project, with this i mean webpack or whatever the flavor of the month is. The ecosystem changes rapidly, but not as annoyingly as it did with Angular( 1 to 5 anyone?) But in the end it is worth it. It really gives you superpowers over dynamic and fast web applications. I would say that the effort is worth it and don't give up. But on the other hand, if it is not clicking with you yet then don't force it. Try Vue, which is ridiculously simple and great and see if you like it better. It has as much power as Angular and React whilst managing to be simple, lightweight and fast! Almost ridiculously fast
-
@binarydigit we are the Vue sheep hehe. I once tried learning reactjs too but there are lots of complexities to it. When I found about vue and studied it, I said bye angular and react (even if they have more offered jobs in the market. I don't care lol!) I'll just study them when at work they require me to study it lol. 👌
-
I fucking hate JSX, and don't like React's API, like dangerouslySetInnerHTML and __SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED or requiring the 'style' prop to be an object while native DOM allows Element.cssText. So I went with a simpler kind of React without the JSX bloat: mithril https://mithril.js.org/. Do give it a try!
-
Brolls31557yA *lot* of the companies I’ve interviewed for / had cursory interaction with have mentioned their angular -> react -> vue journey.
I also think JSX is a little heavy-handed.
The problem with frontend development seems to be that everyone is doing pretty much everything they possibly can, without actually stopping to determine whether they should.
At least with desktop & backend dev (for the most part) things are largely stable and focus around assumed practices and frameworks.
Really hoping the web goes the same way and settles the fuck down eventually. -
sebh06025147yI tried react and it was really complicated. Then just for fun I tried vue and had a simple to do list webapp running in an hour. I did not go back.
-
unmarked5517yI love React and we use it at work. Once you get your head around it it's actually pretty simple and definitely more than rendering HTML...
-
Bobu1167yWell, I'm pretty sure you had the same issue I had when I learned React. There's so many ways to do things in React that I was completely lost between all the different tutorials people wrote.
Finally I had the chance that my CTO explained it to me in the most simple way: he made a very simple React project without any CSS, then ask me to style it.
I managed to handle that task and learn React in two weeks only.
Ok, I admit the Webpack part is still difficult to get, but eh, I'm only supposed to be the designer! -
I tried react and it squished different areas of my brain. But in the end it was worth the effort. Steep learning curve but once you get the hang of it, you can build amazing apps and have so much control.
Only thing I felt needs improvement in react is API Integrations. It should be a lot simpler. -
gamblet1087yIt really helps you learn how to structure your project and code and having reusable components is really handy.
What I can't wrap my head around is Redux, it is so complicated that I stick to vanilla for now. Don't try it if you are new to React. -
unmarked5517y@rkajaste but OMG does Redux make a difference. I'd definitely recommend you keep working on it!
-
gamblet1087y@unmarked Yes, I know, but my current project is basically finished already so I really do not want start rewriting it in Redux. I'll definitely use it in future projects, because the vanilla can be quite hacky in some parts.
-
unmarked5517y@rkajaste the first time I used Redux to be able to save form data and backtrack to it, I about had a heart attack, I was so happy.
-
hodus754yLearning JSX is unlearning the beauty of separation of concerns.
Sure, you can get a cup of coffee, a pastry, a salad, a pizza and whatever-else-you-eat-for-lunch, throw it all in the blender, blend it together and eat it, and do that everyday.
And some will say that eating food that way (or rather slurping) is more efficient. After all, the food is going to get mix up in the stomach, right?
Well that's disgusting, it's ugly and repulsive.
Welcome to JSX.
Related Rants
Ok, I've tried multiple times to learn it, but just hate React and JSX. I don't know why-maybe because I'm a not a professional developer yet and can't see the right use case for it? I feel that's it's so overly complicated to render some HTML. Should I keep trying to learn this or just work with what I like for my projects, then learn React later? ARGH
rant
noob developer
codenewbie
react
jsx