Use react propTypes to validate props.
npm install
npm start
Then visit http://localhost:8080/webpack-dev-server/.
You will see a warning in the browse's console:
Warning: Failed prop type: Invalid prop `number` of type `string` supplied to `Hello`, expected `number`.
in Hello