You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
This would be a "highly opinionated" change, but it's one I think could benefit the entire community. By forcefully suggesting that people include propTypes (https://facebook.github.io/react/docs/reusable-components.html) you could significantly increase the chances that people will document the API of their components.
If you've ever tried to work with a third party component that has a lot of functionality only exposed via searching for "this.props.*" then you'll understand why I suggest this change.
The text was updated successfully, but these errors were encountered:
This would be a "highly opinionated" change, but it's one I think could benefit the entire community. By forcefully suggesting that people include propTypes (https://facebook.github.io/react/docs/reusable-components.html) you could significantly increase the chances that people will document the API of their components.
If you've ever tried to work with a third party component that has a lot of functionality only exposed via searching for "this.props.*" then you'll understand why I suggest this change.
The text was updated successfully, but these errors were encountered: