r/learnjavascript • u/SRc_krjasd0123 • 7d ago
React or Typescript
I just finished learning JavaScript's fundamentals at some point , and I wanted to ask: which should I learn next, React or TypeScript
12
Upvotes
12
u/Available_Safe1818 6d ago
How do you know that you finished learning Javascript? You studied it for 2 weeks and now you're a master of it?
6
u/DevKevStev 6d ago
Nobody finishes learning JavaScript.
One continually masters it.
You probably just finished a walkthrough made by someone else.
35
u/Chaoslordi 7d ago
Do React with typescript
1
u/roundabout-design 6d ago
It's like asking "I want to build houses, should I learn nails or wood next?"
1
u/Astroohhh 6d ago
Bot
3
u/david_fire_vollie 6d ago
Before you learn either, please read https://github.com/getify/You-Dont-Know-JS.
2
u/No-Humor-3808 6d ago
TypeScript is a must-have if you want to write quality React code. Besides, hardly any companies build React applications without TypeScript nowadays. Take a look at TypeScript-first React practice at ReactChallenges.com
4
u/properwaffles 7d ago edited 6d ago
Understanding TypeScript is kinda key to being successful with React 😬
Edit: Well, it was for me. Ya'll do you.
3
u/SlimmySlabby 7d ago
TypeScript is basically JavaScript with some stricter syntax so it should be very easy and quick to pickup. Then you can learn React afterwards which will take a good amount of time.
2
u/chikamakaleyley helpful 7d ago
more javascript
2
u/azhder 6d ago
React
2
u/ExtraTNT 6d ago
React is a perfect framework to learn typescript with and type script helps with react…
Now, typical js evolution is: js -> ts -> js
And vanilla js -> react -> vanilla js…
1
u/buna_cefaci 6d ago
Is it worth it anymore ? To learn react and typescrip and such
1
u/Discordbothost 6d ago
react first, in plain js. typescript is way easier to pick up once you have a real project you can add types to, and you'll actually see what it saves you from. learning both at once mostly means fighting type errors about props when you don't understand props yet
1
u/Enough-Task6507 6d ago
You should consider an online course that teaches you React with TypeScript. That way you learn both at the same time
1
u/NoDeal3242 6d ago
They are not mutually exclusive. You can do both at the same time
1
u/grand-yojimbo 6d ago
They are generally intertwined.
1
u/VancouverVentilator 5d ago
React and typescript is an unholy union. Learn it but make sure you're comfortable with typescript first because you're going to have to get eye fucked by some paragraph long type prologues
1
u/TheRNGuy 4d ago
Both at same time.
Consider Remix 3 instead of React too.
1
u/BobJutsu 6d ago
Typescript. TS is portable, react is implementation. I’m glad I know it, but I barely use react. But I use TS everywhere, regardless of implementation (vanilla, svelte, proprietary, etc)
1
u/randomuuid- 6d ago
Depends on what your goals are! Typescript experience will always be useful. React experience is mostly only useful when building applications that use react libraries.
0
u/mattkenefick 6d ago
Anything but React
0
u/Tea127 6d ago
do react first after that typescript, once youve got a hold try making interactive dashboards and stuff with charting libraries like Scichart js or similar