...

/

Understanding the benefits of TypeScript with React

Understanding the benefits of TypeScript with React

In this lesson, we are going to discover the benefits that TypeScript brings when developing React apps.

Using CodeSandbox #

CodeSandbox is a browser-based IDE that supports React and TypeScript apps. When you create a project in CodeSandbox, the basic configuration is automatically done, so we can start writing code straight away. It’s an excellent tool for learning React with TypeScript!

We are going to use CodeSandbox in some of the lessons in this course to try out different aspects of React with TypeScript.

The following link takes us to CodeSandbox:

https://codesandbox.io/

Consuming and refactoring a component prop without TypeScript #

In order to get a sense of how TypeScript increases productivity, we are going to carry out an exercise in Co ...