-
Notifications
You must be signed in to change notification settings - Fork 6
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
Validator deprecation in React 16 #2
Comments
@pronebird I'm also seeing this. |
@tommikaikkonen any way to resolve this? :) |
@pronebird @NathanBWaters @nealoke Guys, you can disable the validation via options: import { Model } from 'redux-orm'; const myPropTypesMixin = getPropTypesMixin({ validate: false, useDefaults: true}); |
@Ianc22 is the purpose of the |
@nealoke as far as validating goes I suppose it does.... I only just came across the issue myself and will look into it myself when I get a minute.. Validation only happens when not in production environment so I'll get back to it later once I got the orm up and running! Let me know how you get on ;) |
@Ianc22 Well to be honest I just threw it out of my models because of the errors. I would love to have it in but really don't know how to "fix" the code. I looked at it and realized that this was out of my knowledge :) Still very young on react etc. Maybe you can? 👍 |
This is now an error in React 15
|
I've made a version that uses |
Hey,
have you happened to see this warning in console?
The text was updated successfully, but these errors were encountered: