DEV Community

ranjitmenon
ranjitmenon

Posted on

Learn React with Typescript vs Javascript

I come from an Angular with Typescript background and wish to learn React. I am bit confused with some articles mentioning React with Typescript isn't a good combination. I need to understand what is widely used in the industry. React with Javascript or React with Typescript.

Latest comments (3)

Collapse
 
itsjzt profile image
Saurabh Sharma • Edited

most of the people use typescript/prop-type with React.js

Typescript is hugely popular in react world

Collapse
 
ranjitmenon profile image
ranjitmenon

So can I confidently go ahead learning it with Typescript

Collapse
 
itsjzt profile image
Saurabh Sharma

yeah.

  • create-react-app has a --flag for typescript generation
  • next.js supports typescript out of the box.

both show how famous typescript is in react world