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 Typescript
----
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
On this page of the site you can watch the video online Introduction to TypeScript in React (Components and Props) | React.js Tutorial #3 with a duration of hours minute second in good quality, which was uploaded by the user Bruno Antunes 05 October 2020, share the link with friends and acquaintances, this video has already been watched 19,777 times on youtube and it was liked by 673 viewers. Enjoy your viewing!