Hello, I am having a bit of trouble understanding this text.
The first step to making a
propTypeis to search for a property named
propTypeson the instructions object.
Am I to assume that most people who code in react will always have a propType declaration for each component and if they don’t its best practice to make one? When you say search for it I am also assuming that means I should look for it in the source code. Sorry but I am really confused by this paragraph. If you can explain like I’m five that would be great.
Also what do you mean by instructions object ?
Edit: The paragraph in question can be found here: Apply PropTypes Lesson