- If you are developing big projects, you can catch a lot of bugs with typechecking
- React has some built-in typechecking abilities
we’re using
PropTypes.string
. When an invalid value is provided for a prop, a warning will be shown in the JavaScript console.
No comments:
Post a Comment