-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
undefined error in style-prop-object #824
Comments
What's the code this is erroring out on? |
@kouhin either way, |
@ljharb Thanks. I will try to fix the required version. This error occurs for every CI builds just from today, so I updated the deps by npm-check-updates('ncu -a -u'), and we got the style-prop-object error. |
Sorry that I've made a mistake. Maybe ncu haven't updated all the packages. |
For a package like |
Error pattern: export class CustomLayout extends React.Component {
static propTypes = {
children: React.PropTypes.node,
elementType: React.PropTypes.oneOf(['ul', 'div']),
};
render() {
const { children, ...restProps } = this.props;
return React.createElement(
this.props.elementType,
{
ref: node => (this.dom = node),
...restProps,
},
this.props.children
);
}
} |
@petersendidit Any chance you can look into this? Might be similar to #820 |
I think this is a duplicate of #809. Closing this issue in favor of that one. |
VERSION:
The text was updated successfully, but these errors were encountered: