DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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 (18)

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
 
jfbrennan profile image
Jordan Brennan • Edited on

Once you feel like you have the basics down, then start learning both JS and a framework in parallel. Doing one compliments the other.

And don't ever stop learning vanilla JS - it's one of the few languages you can truly master! Also, frameworks come and go, even popular frameworks hyped up with millions of marketing dollars by society-crushing social media companies, so invest your time in a framework, but not at the expense of developing your JS, HTML, and CSS expertise.

Collapse
 
nahid570 profile image
Nahid Faraji

Agree

Collapse
 
ashoutinthevoid profile image
Full Name • Edited on

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?

Collapse
 
jfbrennan profile image
Jordan Brennan

Have you ever used Java or Rust?

Thread Thread
 
ashoutinthevoid profile image
Full Name • Edited on

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.

Thread Thread
 
jfbrennan profile image
Jordan Brennan

hahaha why are you making demands?

Thread Thread
 
ashoutinthevoid profile image
Full Name

That's a fascinating interpretation of what I wrote.

Collapse
 
safbalili profile image
Josafe Balili • Edited on

πŸ‘

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 Author

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

Collapse
 
pontakornth profile image
pontakornth

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
pontakornth

Fun Fact: I take this advice from PHP developers.

Collapse
 
iamchriswick profile image
Christian Wick

When you start repeating yourself

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.

Visualizing Promises and Async/Await 🀯

async await

☝️ Check out this all-time classic DEV post