Skip to content
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

Component export not recognised if using React.memo #1366

Closed
queicherius opened this issue May 17, 2019 · 3 comments
Closed

Component export not recognised if using React.memo #1366

queicherius opened this issue May 17, 2019 · 3 comments
Labels
react-docgen Issues in react-docgen library wontfix

Comments

@queicherius
Copy link

Current behavior

Right now, if there is a component exported wrapped with React.memo, that component gets ignored.

2019-05-17_19-32-29

To reproduce

https://github.com/queicherius-error-reporting/example

Expected behavior

Components wrapped with React.memo to just work.

My current workaround

Add a memoize function that turns off React.memo for the NODE_ENV that styleguidist runs in.

@sapegin
Copy link
Member

sapegin commented May 21, 2019

Likely should be reported at https://github.com/reactjs/react-docgen

@sapegin sapegin added the react-docgen Issues in react-docgen library label May 21, 2019
@mendrew
Copy link
Contributor

mendrew commented May 26, 2019

Here the issue in react-docgen: reactjs/react-docgen#342
And PR which hasn't been merged yet: reactjs/react-docgen#343

@stale
Copy link

stale bot commented Aug 24, 2019

😴 This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week without any further activity. Consider opening a pull request if you still have this issue or want this feature.

@stale stale bot added the wontfix label Aug 24, 2019
@stale stale bot closed this as completed Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
react-docgen Issues in react-docgen library wontfix
Projects
None yet
Development

No branches or pull requests

3 participants