-
Notifications
You must be signed in to change notification settings - Fork 67
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
Support HOCs that wrap & export component #48
Comments
can you paste a full file that I can test? we do support some HOCs, but definitely think we missed some edge cases. |
TestComponent.jsx:
testSelector.js:
Note this issue occurs regardless of whether TestComponent is a pure functional or class component. |
Also running into this issue with similar code |
1 task
Fixed in v3.2.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No documentation is produced if a component is wrapped before being exported, e.g. using redux connect.
I've tried using different resolvers but this doesn't fix the problem. I can see in the react-docgen codebase history that they have added support for HOCs, so I believe this limitation must be specific to this plugin.
The text was updated successfully, but these errors were encountered: