Closed
Description
| Compiling...Warning: Cannot parse source\containers\ProductCard\ProductCard.js: TypeError: Got unsupported definition type. Definition must be one of ObjectExpression, ClassDeclaration, ClassExpression,VariableDeclaration, ArrowFunctionExpression, FunctionExpression, TaggedTemplateExpression or FunctionDeclaration. Got "CallExpression"instead.
It usually means that react-docgen does not understand your source code, try to file an issue here:
https://github.com/reactjs/react-docgen/issues
When using ReactRedux.connect(
containers are returned as CallExpression
s. Is there a workaround to make react-docgen recognize them?
Metadata
Metadata
Assignees
Labels
No labels