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


Watch video How to perform prop type checking in a Function Component - React with TypeScript? online, duration hours minute second in high quality that is uploaded to the channel bonsaiilabs 25 August 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,809 times and liked it 17 visitors.