Type-checking with Proptypes in React #21 React Course

Published: 24 February 2023
on channel: Code with Sloba
739
29

Type-checking with PropTypes in ReactJS. PropTypes is a useful tool for ensuring that the data passed between React components are of the correct type.
So in this tutorial, I cover how to create prop types, and how to do type checking. And how to implement type-checking on more complex objects.

************************************************************
Previous Video:    • Refs in Reactjs #20 React Course  
Next video:    • Handling API Requests in React #22 Re...  
Full series    • Full React Course  

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

0:00 Intro
0:45 Creating User component
2:00 Adding prop-types to component
4:10 Creating UserList component
5:20 Adding prop-types to UserList component

🧿 I discussed:

✔️ How to create PropTypes in React
✔️ How to implement PropTypes shape method in React

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

👉 Patreon:
✔️   / codewithsloba  

👉 Linkedin:
✔️   / slobodan-gajic  

👉 Instagram:
✔️  / codewithsloba  

👉 Portfolio:
✔️https://bobangajicsm.github.io/portfo...


Watch video Type-checking with Proptypes in React #21 React Course online without registration, duration hours minute second in high quality. This video was added by user Code with Sloba 24 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 739 once and liked it 29 people.