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
Смотрите видео Introduction to TypeScript in React (Components and Props) | React.js Tutorial #3 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Bruno Antunes 05 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 19,720 раз и оно понравилось 673 людям.