Skip to content

ReactLink still using React.PropTypes. #9755

@lrojas94

Description

@lrojas94

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
React is using React.PropTypes even though it states it's going to be deprecated.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).
https://github.com/facebook/react/blob/15-stable/src/addons/link/ReactLink.js#L62

What is the expected behavior?
Should use PropTypes from the prop-types package.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
15.5.4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions