Best practices & advanced TypeScript tips for React devs
What you'll learn
- How to get the most out of TypeScript when writing React applications
- Configure TypeScript in an even stricter mode
- Validate data in a TypeScript friendly way at the application boundary
- Use better constructs then casting to inform TypeScript about the types used
- A basic understanding of React
- A basic understanding of TypeScript
Are you tired of dealing with runtime bugs in your React applications? Want to improve the reliability and efficiency of your code without a lot of extra effort? Look no further! In this interactive course, I'll be sharing simple techniques and settings to enhance your TypeScript usage when developing React applications.
By utilizing TypeScript's ability to check our code, we can catch potential errors early on in the development process. This not only saves time, but also leads to a better user experience as bugs are less likely to reach production.
We'll start by diving into the basics of declaring React components using TypeScript, and then move on to more advanced concepts such as using types like any, unknown and never, type predicates, and exhaustive checking. You'll also learn about built-in mapped types and how to create your own custom type maps. Plus, we'll explore the power of conditional types and type inferring in the TypeScript type system.
By the end of this course, you'll have the skills and knowledge to take your React applications to the next level, making them more reliable and efficient than ever before. Don't miss this opportunity to improve your development skills and create a better user experience. Enroll today!
Who this course is for:
- React developers who want to build more reliable applications
- React developers looking to upgrade their TypeScript skills
- TypeScript developers looking to upgrade their React skills
Hello, I'm Maurice.
I am a software consultant and trainer, specializing in TypeScript, ECMAScript, React, Svelte and ASP.NET MVC. My work includes a large, global, safety application for the oil and gas industry. This is completely done with React. I have also worked on many other applications.
I am also active in the open source community. You can check out my GitHub account.
When not building applications myself I teach other developers. The topics vary from ECMAScript, TypeScript, React, Svelte, Vue, Cypress, RxJS to ASP.NET MVC.
I have received Microsoft’s Yearly Most Valuable Professional Award since 2005. I am also active in the dotNed user group and helps organize its meetings.