-
Notifications
You must be signed in to change notification settings - Fork 201
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
Issue with React v16.2.0 #166
Comments
So this is just a proptype warning message? A couple things this brings up: I should create a dev and prod version of this package's bundle (similar to how react does it). No need for type checking in production. Does the component actually work (but it is just logging warning messages in the console)? If you are using babel, you can look into: I am going to see if there's a way to fix this. I'm not sure why passing the startDate and endDate as a string is logging that message. Perhaps the message will go away if you do the following instead (untested):
|
temporarily fixed by changing
to
|
closing this due to inactivity. please re-open if this is still an issue in v6.0.0 or greater |
I updated my project (2 years old) to React v16 version numbers below
"react": "^16.2.0",
"react-bootstrap": "^0.32.1",
"react-bootstrap-daterangepicker": "^4.1.0",
"react-dom": "^16.2.0",
I'm now getting an issue when I load any page with the date picker, the page fails to load and I receive this error
"Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object"
I stripped back my implementation but I'm still getting the issue
The text was updated successfully, but these errors were encountered: