- Course
Using TypeScript with React
This course teaches you how to use TypeScript in your React apps, making your code more reliable and maintainable.
- Course
Using TypeScript with React
This course teaches you how to use TypeScript in your React apps, making your code more reliable and maintainable.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Most React developers start off writing straight JavaScript, but as apps grow, small mistakes can become big problems. In this course, Using TypeScript with React, you’ll see learn to transform a plain JavaScript site into a type-safe app. First, you’ll configure TypeScript and rename your files so the compiler can catch mistakes before you even run the app. Next, you’ll discover how to type your React components, props, and hooks in a way that’s flexible but not overly complex. Finally, you’ll add runtime validation with Zod to protect data going between browser and server. By the end of this course, you’ll be able to write code that’s higher quality and easier to maintain.