We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This logs both a and b:
a
b
var M = { statics: { moo: function() { console.log('a'); } } }; var X = React.createClass({ mixins: [M], statics: { moo: function() { console.log('b'); } }, render: function(){} }); X.moo();
This seems weird to me and inconsistent with the behavior for non-static functions. Can we change this to give an error too?
The text was updated successfully, but these errors were encountered:
statics
Successfully merging a pull request may close this issue.
This logs both
a
andb
:This seems weird to me and inconsistent with the behavior for non-static functions. Can we change this to give an error too?
The text was updated successfully, but these errors were encountered: