DEV Community

Cess
Cess

Posted on

Discuss: When is the right stage to move from JavaScript to a JavaScript framework like React or Angular ?

Hello Everyone πŸ‘‹πŸΎ

Quick question

At what point do you get to when learning JavaScript and you say Yes I know enough now. Let me move to React or any other JavaScript framework ???

Top comments (15)

Collapse
 
ben profile image
Ben Halpern

I don't think there's a perfect answer, but a rule of thumb could be once you are capable of "producing something real" with JS. Your definition of "real" may vary, but that seems like a good bar. Can you "finish" something in JS? Maybe then a good exercise would be to reimplement the same thing with a framework.

Collapse
 
jihoshin28 profile image
Allen Shin

In my experience, I actually learned more about Javascript the more that I had to work with React. The reason for this is because frameworks give you the context for which you use the basic tools that you learn with a language. So, it's kind of like when you are given an example to explain a concept. Also, I personally think languages themselves are very trivial - it's basically a toolbox - and the tough part is actually understanding how those parts come together to build something bigger than the sum of parts.

Collapse
 
lexlohr profile image
Alex Lohr

You should at least have a solid basis and know the data types and most of the syntax. Everything beyond that depends on your goals:

Do you want to create something fast?

Don't waste too much time!

Do you want to get hired and ace a technical interview?

Better get a bit more ground covered before you embarrass yourself!

In any case, if you want to be a professional developer, never ever stop learning.

Collapse
 
mustapha profile image
Mustapha Aouas

Hi,

That’s an interesting question. I think that there is not a perfect answer to that. Moreover, it depends on the person.

I think the right time is when you feel comfortable with the language enough to feel like you can implement anything you think of. But one thing you should absolutely do is continue to learn the language. Even if you choose Angular where you’ll mostly use typescript, you should always continue your learning journey of js.

Learning JS is not a destination, it’s a direction.

PS: Learning a framework is great because it will teach you how to build scalable solutions.

That’s my opinion.
Cheers

Collapse
 
cesscode profile image
Cess

I agree... I will post this blog post to a developer group I'm in

 
ashoutinthevoid profile image
Full Name • Edited

Yes. And C++, an insignificant amount of Python, and a few others besides.

My question remains unanswered.

Nothing about my experience in these languages makes your claim even remotely self evident, which is why I asked for elaboration. You may have justifiable reasons for your perspective, but you are quite wrong to assume it's shared and will be instantly understood without elaborating. I'd like to understand why you feel the way you do.

Collapse
 
pontakornth profile image
Pontakorn Paesaeng

You may consider moving to framework when things get complex and you somehow end up creating a homemade framework. For example, you create a note taking app and somehow need to repeat code to update UI. This is where JavaScript framework is good at.

Another situation is to come up with a working MVP in short amount of time. Framework will reduce you work and you can focus on the application rather than some UI update code.

Collapse
 
ashoutinthevoid profile image
Full Name

I think this is a good point. Include an external package when you want or need to spend your time building the product, instead of spending time building the tools (eg a framework) required to build the product.

Collapse
 
pontakornth profile image
Pontakorn Paesaeng

Fun Fact: I take this advice from PHP developers.

Collapse
 
ashoutinthevoid profile image
Full Name • Edited

JS - it's one of the few languages you can truly master!

Could you elaborate? Why do you feel JS is more masterable than other languages?

 
ashoutinthevoid profile image
Full Name

That's a fascinating interpretation of what I wrote.

Collapse
 
nahid570 profile image
Nahid Faraji

Agree

Collapse
 
srmagura profile image
Sam Magura

I agree with the answer by Jordan Brennan. Just to add to that β€” learn React, not Angular. React is becoming the de facto standard for frontend web development while Angular's popularity is waning.