Skip to content

React 16 breaks library during extension load #7

Description

@vaughnkoch

Because of this change in React 16, accessing PropTypes in React now throws an error, which makes it impossible to load the js module.
https://reactjs.org/warnings/dont-call-proptypes.html

The breaking line seems to be line 5 in component.js. I think there's a simple fix available if you follow the above link.

const { bool, object } = React.PropTypes;

Thanks for creating a cool library btw :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions