Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation introduces React.PropTypes validation warning #27

Closed
lilrogalski opened this issue Sep 28, 2016 · 4 comments
Closed

installation introduces React.PropTypes validation warning #27

lilrogalski opened this issue Sep 28, 2016 · 4 comments

Comments

@lilrogalski
Copy link

First of all, awesome plugin, thanks for taking the time to build it 🙏🏻

When I add this package to my app, I see a bunch of warnings about PropTypes validations:

screen shot 2016-09-28 at 10 30 38 am

https://facebook.github.io/react/warnings/dont-call-proptypes.html

Will this be fixed in future versions?

@marnusw
Copy link
Owner

marnusw commented Sep 28, 2016

Yes, I guess this changed in the very latest version of React. I haven't
seen it yet. Just give me a few days though please. Or if you want to make
a PR that would be great.

On Wed, 28 Sep 2016, 18:34 Ryan Rogalski, notifications@github.com wrote:

First of all, awesome plugin, thanks for taking the time to build it 🙏🏻

When I add this package to my app, I see a bunch of warnings about
PropTypes validations:

[image: screen shot 2016-09-28 at 10 30 38 am]
https://cloud.githubusercontent.com/assets/1111881/18925001/07721bd2-8567-11e6-80e5-4097a8969e2b.png

https://facebook.github.io/react/warnings/dont-call-proptypes.html

Will this be fixed in future versions?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#27, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7S64SBgEDL1WqRcvnuJWLtmbOg_GsHks5quqUbgaJpZM4KJGVO
.

@lilrogalski
Copy link
Author

No problem man, I encountered this on a client project and it's not critical so I will just wait for an update as I don't have the bandwidth to fix it right now.

Thanks again.

@marnusw
Copy link
Owner

marnusw commented Oct 21, 2016

I've looked into this but I'm unable to reproduce the warnings you saw and if I look at the image you attached I'm thinking the problem might have been in the version of react-router that you are running?

Since Declaring PropTypes is still fine and the code in this lib still matches that in ReactCSSTransitionGroupChild@15.3.2 I think we're OK here. This conversation further suggests it might have been a router issue.

I'm not sure why this message would have shown up only after you included react-css-transition-replace though. Would you mind giving it another go with the latest v2/v3 or react-router?

@lilrogalski
Copy link
Author

@marnusw it is most likely an issue with another dependency, this was on a client project that had a lot of other developers working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants