Closed Edo78 closed 7 years ago
I'll do my best but I'm not a react expert. Mainly I got the warning and after this patch I doesn't get it anymore ;) To be a little more serious I've tried to follow the guidelines here https://facebook.github.io/react/warnings/dont-call-proptypes.html
Thanks @Edo78 for the reply. As I mentioned in #75, I really don't get the error when running this repo with npm start
. Could you show me some screenshots of your terminal/console of the warnings? Which version of the React are you using?
Thanks!
I'm using react 15.3.2 and using react-toastr 2.8.1 I got the warning in the chrome console
@Edo78 Sorry, I cannot really reproduce this error on my computer. Would you be able to create a minimal repo and share it with us?
I'll give a try as soon as possible (don't hold your breath in the meanwhile :D )
@tomchentw This explains the need for this. In summary:
Note: React.PropTypes is deprecated as of React v15.5. Please use the prop-types library instead.
I'm aware of the new prop-types
package, but I don't see why the error is coming:
@Edo78
Can't repro. Close now.
@Edo78 Thanks for looking into this. Could you try explaining why this would help? I thought they were identical.