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

React.createClass deprecated now. react-bootstrap-daterangepicker will be incompatible with React 16 #126

Closed
4refr0nt opened this issue Apr 15, 2017 · 2 comments

Comments

@4refr0nt
Copy link

In React 15.5 we have:

Warning: A Component: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

https://github.com/skratchdot/react-bootstrap-daterangepicker/blob/master/lib/index.js#L15

@aralroca
Copy link

aralroca commented May 5, 2017

I have the same Warning! And also this another deprecation:

Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

@skratchdot
Copy link
Owner

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

3 participants