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
react-in-jsx-scope
This doesn't work
import React from 'react/addons' const Button = React.createClass({ render() { return ( <button {...this.props}>{this.props.children}</button> ) } }) export default Button
but if I define it as a variable it does
import r from 'react/addons' const React = r const Button = React.createClass({ render() { return ( <button {...this.props}>{this.props.children}</button> ) } }) export default Button
The text was updated successfully, but these errors were encountered:
Thanks for the failing case. I'll look at this.
Sorry, something went wrong.
It was related to eslint/eslint#1978 which is fixed in ESLint 0.19.0.
Cool, thanks! 👍
No branches or pull requests
This doesn't work
but if I define it as a variable it does
The text was updated successfully, but these errors were encountered: