aweary/react-is-deprecated

Doesn't work with new 'prop-types' library

オープン

#6 opened on 2017/08/24

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (6 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (44 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

In the addIsDeprecated wrapper you iterate over all properties on the PropTypes object and call .bind() for each property. However, in the new prop-types library they added a self-reference of PropTypes into the PropTypes object which causes it to break since it's not a function. There is also a checkPropTypes which may also be problematic.

You can view their source here

コントリビューターガイド