I feel bad because while I don't reach for react (I usually pick Vue or vanilla), people's comments about react is really depressing.
There's a LOT of shitty react code. And when you see beautiful react implementation, it's like a work of art.
Unfortunately, react projects have been given to by bootcamps grads with 6 months of experience and it's like the blind leading the blind...
I wonder if it's like PHP. Lots of people shit on it because they had to futz around in a garbage project written by garbage developers, fully unaware that it can be elegant in the hands of a professional team who cares about code quality.
React definition: React (also known as React.js or ReactJS) is a free and open-source front-end JavaScript library for building user interfaces based on components.
Tbf, "learned a language" is a hard thing to pin down in any case.
I've been building enterprise software with python for almost a decade now. I still occasionally find stuff in the stdlibs that I didn't know about, or even sometimes some subtle feature of the language that I never had reason to explore until now.
If someone asks me if I "learned" python, id say hell yeah - but there's always still plenty to learn
That being said, no reasonable definition of learned includes what you could do in 2 days, even as an experienced dev lol
React is a library, when do you consider a library "learned"? If they already knew JavaScript why couldn't they "learn" React in two days?
I've been using Python regularly for a decade and I'm continuously using new libraries and learning new things, I can't think of when I would have considered Python "learned".
Probably the hardest part of React, for me, was getting used to the callbacks. Passing data up to the parent component using a function. It's a little difficult to get used to if you haven't encountered it already
I learned about how much I didn't understand react on my 2nd dev job. I had like 2yoe with react previously. There's a lot about it. Mostly tricks. hacks and work arounds for it's abysmal performance.
Bah, 2 whole days? I learned React in 1 day!... then another, and another, and then I got a book, and a few years later... I learned how to fix whatever ChatGPT spits out in React in 2 days!
To be fair it took me couple of days to learn the basics of react. But I had years of programming experience, including other frontend frameworks like angular, angularjs, knockoutjs etc.
I can use react to build something, but fuck is it inefficient. Still learning though, as i’m just creating my first frontend and it’s for a hobby project anyway, so performance doesn’t matter.