Chapter 2
Integrating Redux with React
Section 8
PropTypes
In this video we need something that double check after us for the props and their types, so we are using prop types to check the type of the props and if they are required. - Import proptypes from prop-types - Add the component propTypes object with the props for example the orders as array and the deleteOrder as function - Added the isRequired flag to set that prop as required and tested in the browser to see the warning message