With React it is very easy to accidentally pass incorrect props to a component and worst of all it is difficult to track down where these bugs occur before deploying your code. This is where PropTypes come in. With PropTypes you can easily define exactly what the props should be for a component and it will notify you when those props are incorrect. In this video I will be going over everything you need to know about PropTypes so you can start writing less buggy React code immediately.

⏱️ Timestamps:

00:00 - Introduction
00:22 - Basic PropTypes
07:48 - Advanced PropTypes


#react 

Everything You Need to Know About React PropTypes
26.85 GEEK