Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

rcc should include propTypes #54

@iandanforth

Description

@iandanforth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions