-
Notifications
You must be signed in to change notification settings - Fork 46.3k
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
Warning: React component classes must extend React.Component. - 0.14 rc1 #4836
Comments
Getting this with RC1 too, and also getting invalid proptypes for children:
When passing down JSX nodes we get this error:
Might this be because of the same checking? If not will open a separate issue. |
@tonyhb no that would be unrelated. Can you file a new issue with code to reproduce. |
Will do. |
I'm having this problem using this lib (https://github.com/davidguttman/react-pivot/blob/master/index.jsx) as well. any thoughts? |
@spicyj thoughts on this one? |
@luisrudge Guessing react-pivot has its own copy of React. Try rm -rf |
I'm using npm3, so it's all flattened |
more context : scala-js/scala-js#1900 |
Need to investigate how IE9 and IE10 behaves with these static properties. For anyone in this thread who's not on IE and not using scala-js, please file separate issues with repro steps. |
Put the flag on the prototype instead to help certain limited forms of class extensions that doesn't properly transfer static properties. Fixes facebook#4836
http://stackoverflow.com/questions/32509891/warning-react-component-classes-must-extend-react-component-0-14-rc1
The text was updated successfully, but these errors were encountered: