Is mastering JavaScript essential before diving into modern frameworks?

Hey everyone! I’m currently working with vanilla PHP and learning Laravel on the side. I want to pick up a frontend framework and I’m leaning towards Vue.js to pair with Laravel. But since I’m also studying Java in college, I’m interested in Angular for the future too.

I’m wondering if I can jump straight into TypeScript and use it for both Vue.js and Angular, or if I need to get comfortable with JavaScript first? I’m a bit confused about the learning path here.

My background is mostly backend, so I’m not sure how much JavaScript knowledge I need before tackling these frameworks. Any advice from those who’ve been down this road before? Thanks in advance for your help!

I’ve been down this path, and here’s my take: While a strong JavaScript foundation is beneficial, it’s not an absolute prerequisite for diving into frameworks. Your background in PHP and Java already gives you a solid programming base. I’d suggest starting with Vue.js, as it’s more approachable for beginners compared to Angular.

As you work on Vue projects, you’ll naturally enhance your JavaScript skills. Once you’re comfortable with Vue and basic JS concepts, gradually introduce TypeScript. This approach allows for a smoother learning curve.

Remember, hands-on experience is crucial. Build small projects, experiment with different features, and don’t be afraid to make mistakes. The practical application will solidify your understanding far more than just theoretical knowledge.

Lastly, don’t neglect the fundamentals of web development like HTML and CSS. They’re equally important when working with frontend frameworks. Good luck on your journey!

hey zack, i’d say go for it! i jumped into vue without much js and picked it up along the way. typescript’s great but not essential at first. focus on the framework basics and you’ll naturally improve your js skills. don’t overthink it - just start building stuff!

While it’s not absolutely essential to master JavaScript before diving into frameworks, having a solid foundation in JS can significantly ease your learning curve. That said, your background in PHP and Java gives you a good programming base. You could start with Vue.js, as it’s generally considered more beginner-friendly than Angular. As you work with Vue, you’ll naturally improve your JavaScript skills. Once you’re comfortable, you can gradually introduce TypeScript. This approach allows you to learn incrementally without feeling overwhelmed. Remember, the key is to build projects and solve real problems – that’s where true learning happens.