Closed Spongman closed 4 years ago
The check incorrectly expects a React component to always have a name
property. For now, the workaround is to add it manually:
export const MyComponent = Object.assign(withStyles(styles)(MyComponentClass), { name: '' });
i'm getting an error in
dotnetify-react.js
(inloadReactView()
):the component is defined as a styled material-ui component somewhat like this:
the check that's failing is:
typeof iComponent
is"object"