aweary/react-is-deprecated

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

Offen

#6 geöffnet am 24.08.2017

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (6 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (44 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide