About React TypeScript
• With static type checking, you get to learn potential bugs as you're typing the code, then heading to the browser and figuring out at run time.
• It also provides a way to describe the shape of an object hence providing better documentation and autocomplete.
• TypeScript even makes maintenance and refactoring large code bases much easier.
As you can see there are some pretty good points to help you make the decision of adopting TypeScript.
- installing react typescript
- npx create-react-app demo --template=typescript