Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

Calling PropTypes validation directly is a deprecated feature in React 15 #159

@selzaharna

Description

@selzaharna

ActionCreator.validatePayload calls PropTypes directly which is now a deprecated feature:

https://facebook.github.io/react/warnings/dont-call-proptypes.html

The alternative is:

a) remove this feature from FluxThis
b) use one of the third party libraries that duplicates PropTypes logic suggested in the Facbeook post above

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