Should I learn TypeScript or React first?

0
25
Asked By TechieNinja42 On

I'm new to coding and trying to get my foot in the door. I've been creating AI agents and automations using N8n, but I want to step up my game and develop scalable web applications and frontends. I thought starting with JavaScript would be a good idea. Now, I'm getting confused about whether I should dive into TypeScript or React first. I'm feeling a bit overwhelmed and would love some guidance on the best route to take.

5 Answers

Answered By CodeMaster88 On

Why not learn both? You can definitely use TypeScript in your React projects. Start by getting a handle on TypeScript fundamentals first; it's not drastically different from JavaScript. Once you're comfortable with TypeScript, jumping into React will be much easier!

Answered By WebDevWhiz On

This isn't exactly an "or" question. You might want to familiarize yourself with the basics of TypeScript using resources on their official website. Learning a language happens best through practical application, so try building something simple in React after grasping the TypeScript fundamentals. Just a heads-up: while a typed language like TypeScript can feel tricky initially, especially when you’re new, it’s worth it in the long run for building more complex applications.

Answered By CodedByNature On

Go for TypeScript, 100% of the way! Having strong typing will definitely help you as you navigate learning React later.

Answered By LearningLizard On

Here's a simple roadmap:

1. Start with the JavaScript course on FreeCodeCamp.
2. Move on to a React course from Fullstack Open or Scrimba. Both are great and depend on your learning style.
3. If you hit a snag, search for multiple explanations - the internet is full of resources! Just remember: don't let AI write code for you until you've practiced enough to do it yourself. Typing it out helps you learn better.

Answered By FrontEndFreak On

I'd suggest spending about 30 minutes getting the hang of TypeScript, but then dive into learning React for a while! It's a great investment in your future programming skills.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.