-
Course
- Core Tech
Using TypeScript with React
This course teaches you how to use TypeScript in your React apps, making your code more reliable and maintainable.
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.
Table of contents
About the author
Peter is the founder of Silicon Valley Code Camp and long-time software professional specializing in mobile and web technologies. He has also been a Microsoft MVP in ASP.NET since 2006.
More Courses by Peter