r/learnjavascript 3d ago

Should i get complete mastery over JS and then jump to react or like complete the required part of JS and do react simultaneously . Also what resources to use for react

26 Upvotes

20 comments sorted by

13

u/chikamakaleyley helpful 3d ago

i have a friend that is like, one of the best JS devs I've ever worked w, he's prob done it for 20 yrs now

I could call him a master but realistically he would be quick to correct me and make it clear that he hasn't mastered JS.

You don't need to master JS to learn React. You should be proficient with JS, because that'll make learning React easier.

4

u/MissinqLink 3d ago

If you want to do react frontends only then get to react as fast as possible. If you want to be open to other JS projects then go for fundamentals.

2

u/HipHopHuman 3d ago

I've been a JS developer for a LONG ASS TIME.
I started my career before Backbone.js was even a thing.
I'd say I did the work professionally since 2012, and amateurly since 2008.
I have DECADES of experience with this language and the entire ecosystem around it.
There's still stuff I don't know.
Which means even I, as an industry veteran, have not achieved "complete mastery over JS"
I know this to be the case because every time I look at the MDN docs for some new browser API, I realise there is still much for me to learn.
What I'm trying to get at is that you'll probably not see "complete mastery over JS" for at least 20 years, so you may as well just learn whatever it is you want to learn while you still have the intellectual curiosity to motivate you to learn it.

1

u/LaFlamsStan 1d ago

Even though I do understand I won't ever really won't master literally everything when it comes down to JS, what are the key topics I should be proficient/familiar with to become a rising JS developer?

1

u/skamansam 15h ago

Same. Taught myself JS in 1996 and became a professional in 2008. I would not call myself a master, but i know more than most. I dont think anyone can be a master of something that is constantly changing. Looking at the field at large, there is way too much out there to be a master.

1

u/js-fanatic 3d ago

On first place js than also use popular libs.  

1

u/Thin_Mousse4149 3d ago

React is just JS at the end of the day. Yes it’s important to understand programming basics before jumping in and having an understanding of how JS works is important, but there’s a lot you can pick up in the process of working with react as well.

Take time to understand WHY you do things a certain way in react and take time to dissect what is actually happening there.

1

u/Sprint2000 3d ago

Consider the 'mastery' of a programming language as learning it's syntax well, it's really only a first step. Like, when learning a spoken language, what would you achieve when you learn all the grammar? There's a lot of nuances which might take ages to learn and master.

Think about some linguistics professors, did they 'master' their language? Yes. But at the same time, probably even they have something they don't know. And in comparison think about, let's say, Stephen King. He might not know all the grammar nuances like the professor who studied the language all life, but he's undoubtedly a 'language master' as well.

So what I'm trying to say, 'mastering' programming language is not something you can do and call it 'done'. It's a continuous process. And it's not done on its own since you'll want to apply the things you learned.

1

u/funbike 3d ago

When I'm about to pick up a new framework in a new langauge, I study all of https://learnxinyminutes.com/ for the language, then jump into the framework. I continue learning the language and framework further after that point.

Btw, it's better to learn a lit bit every day, than to do intense study, and to revisit past things. The brain absorbs information slowly and forgets easily.

1

u/Popular-Tip2880 3d ago

JS fundamentals - React JS

1

u/ExtraTNT 3d ago

if you master js, you probably at some point build your own renderer...
like not towards the end of mastering... js is sth i do on the side and i have my own renderer...

1

u/OGPresidentDixon 3d ago

I’m a principal front end engineer, I got my first FE job in 2014. I’ve been in the industry a very long time.

Learn React ASAP. That’s all I can say. Because building is what makes you learn, not studying. Every bug you create and solve is a lesson you’ll remember much better than if you read a sentence explaining it within 1000 other sentences. You won’t remember by just reading.

Learn JS as you build in React. I did that and got hired and it took me like 2 years to actually get good at JS but I had an $80k/year salary job while I was learning it.

The most important thing you need to get a job is a portfolio of sites you’ve built, and you get that by coding React. They will absolutely grill you on your code and why you made every single decision and trade-off, so don’t vibe code this because you will 100% forget everything in the middle of a technical interview unless it’s engrained in your memory.

Also, learn Framer Motion. And learn other trendy component libraries. Learn how they work under the hood.

In 2019, I rebuilt every single Ant Design component to expand the props for animations and other things it needed for this WYSIWYG I build in React. I learned a lot that way. Do that. You’ll also learn what components that web apps need, and how they’re used.

1

u/LaFlamsStan 1d ago

From this post, I really would like to ask you, did project based learning play the biggest role in you getting hired? Also, how did u go on about learning through project based learning? Did you just go on youtube and type in "Java script and React projects" or did you do courses that had a list of projects?

1

u/comfortmbah 2d ago

Like many have pointed out, mastery of a programming language takes years of experience and building projects. Just learn the fundamentals and build stuff as you progress in your learning. Do not waste time trying to master the language. Just understand the concept and be able to build stuff with them. Move quickly to react and you will understand better what you have learnt in JavaScript fundamentals. There are lots to learn in programming most especially if you are going to learn fullstack. Learn, understand, build and move to the next. Do not make the same mistake like I did. You will end up moving in a cycle for years with little to no progress in your learning journey.

1

u/owenbrooks473 2d ago

You don't need complete mastery of JavaScript before starting React. I'd focus on getting comfortable with the fundamentals first: variables, functions, arrays, objects, ES6 features, async/await, and DOM concepts. Once those feel clear, start building small projects with React. Learning both in parallel through practical projects can actually make the concepts stick better.

-1

u/curiousFalconer 3d ago

This may be stupid question, but learning web dev is still relevant today ?