Skip to content

PropTypes is deprecated within latest React version #1

@icyc9

Description

@icyc9

Hey,

As of React v15.5, it appears that PropTypes has been deprecated and should be accessed through the independent prop-types npm package. I've removed all references to the internal React PropTypes module and replaced with the prop-types package. The warning still seems to persist.

screen shot 2017-05-21 at 2 29 04 pm

I believe that the issue could lie within another module, not very sure.

https://facebook.github.io/react/warnings/dont-call-proptypes.html
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions