921 Views
PropTypes are a great way to document your components and I generally advise that everyone do this fairly strictly. In fact, we have an ESLint rule that ensures all PropTypes are declared. If you're using TypeScript/Flow, you don't need to be using PropTypes.
0 comments