salsita / prism

React / Redux action composition made simple http://salsita.github.io/prism/
496 stars 24 forks source link

Don't Call PropTypes #61

Open jmatsushita opened 7 years ago

jmatsushita commented 7 years ago

Hi there,

I'm getting a Don't call PropTypes warning https://facebook.github.io/react/warnings/dont-call-proptypes.html after upgrading to react@15.2.1.

The full warning is:

Warning: You are manually calling a React.PropTypes validation function for the `dispatch` prop on `ReduxElmView`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.

Cheers,

Jun

namjul commented 7 years ago

Works for me. Are you using PropTypes other then annotating React components?

tomkis commented 7 years ago

WFM too, any way to provide some additional information? Like full stack trace? Are you sure, that this warning is not causing your code base?

tomkis commented 7 years ago

Please @jmatsushita can you check again? We've done a major rewrite.