TypeScript with ReactJs
Jul 22, 2021
Why TypeScript? Benefits of TypeScript
The top main reasons for Typescript is below:
- Superset of Javascript, easy to learn.
- Supports Class and Modules: Keywords like Class, Module, extends and interface are used.
- The compiler has the support to check for the type of the variable ( Static Type Checking).
- Supports latest ECMAScript along with different language support. The typescript compiler can compile the “.ts” file into “ES6” or other versions.
- Support Javascript package in-build.
- The syntax is more familiar with Java and Scala, which is used as a back-end language.
Read more: https://tudip.com/blog-post/typescript-with-reactjs/