Introduction to TypeScript in React (Components and Props) | React.js Tutorial #3

Published: 05 October 2020
on channel: Bruno Antunes
19,720
673

In this video I'll show you one reason why I love TypeScript in my React.js projects.

We will see the benefits of typing our component properties. We'll see how much easier life becomes when we understand what properties to pass to a component without having to read its source code or documentation.

TypeScript in React projects can help you refactoring code and catch bugs early on your development cycle.

----
React.js Tutorial Playlist:    • React.js Tutorial with Hooks and Type...  
----

Relevant Links for this video:
----
TypeScript Handbook: https://www.typescriptlang.org/docs/h...
TypeScript Compiler Options: https://www.typescriptlang.org/docs/h...
TypeScript Interfaces: https://www.typescriptlang.org/docs/h...
----

Timeline:
00:00 Introduction
00:40 JavaScript Example
04:03 TypeScript Example
08:39 Step-by-Step Guide on how to Type our Props
16:15 What happens to our interfaces? Typescript Playground
17:25 Conclusions


#ReactJS #TypeScript

----
Follow me on:
Twitter:   / bmvantunes  
Dev.to: https://dev.to/bmvantunes
Website: https://brunoantunes.net
Github: https://github.com/bmvantunes
LinkedIn:   / bmvantunes  


Watch video Introduction to TypeScript in React (Components and Props) | React.js Tutorial #3 online without registration, duration hours minute second in high quality. This video was added by user Bruno Antunes 05 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 19,720 once and liked it 673 people.