Skip to content

React.PropTypes를 사용하는 ReactLink. #4

@yunho1017

Description

@yunho1017

기능요청 or 버그
BUG를 보고하겠습니다.

오류 내용
리액트는 React.PropTypes가 비추천 될 것이라고 말하지만 사용되어지고 있습니다

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

해결책
prop-types 패키지의 PropType을 사용해야합니다.

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

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