How to perform prop type checking in a Function Component - React with TypeScript?

Published: 25 August 2020
on channel: bonsaiilabs
1,809
17

In this video we will look at how to perform type checking on props when writing Function Components using TypeScript with React.

We will use an example of financial transaction that has attributes -
amount spent, name of the bank, description of transaction, name of the merchant where transaction happened, name of the category to which this transaction belong. We will render this transaction on the web page using a function component.
CodeSandbox is available at https://codesandbox.io/s/busy-benz-js...

*********Watch all JavaScript Tutorials*********

http://bit.ly/javascript-youtube

***************************************************

Deeksha on Twitter:   / deekshasharma25  

Subscribe for more videos on JavaScript with Visualization:    / @bonsaiilabs  
Follow bonsaiilabs on Twitter:   / bonsaiilabs  
Follow bonsaiilabs on Facebook:   / thebonsaiilabs  
Visit bonsaiilabs at https://bonsaiilabs.com


On this page of the site you can watch the video online How to perform prop type checking in a Function Component - React with TypeScript? with a duration of hours minute second in good quality, which was uploaded by the user bonsaiilabs 25 August 2020, share the link with friends and acquaintances, this video has already been watched 1,809 times on youtube and it was liked by 17 viewers. Enjoy your viewing!