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
Sur cette page du site, vous pouvez voir la vidéo en ligne How to perform prop type checking in a Function Component - React with TypeScript? durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur bonsaiilabs 25 août 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,809 fois et il a aimé 17 téléspectateurs. Bon visionnage!