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

Error: Cannot read property 'displayName' of undefined #47

Closed
Zodiase opened this issue Jul 10, 2019 · 1 comment
Closed

Error: Cannot read property 'displayName' of undefined #47

Zodiase opened this issue Jul 10, 2019 · 1 comment

Comments

@Zodiase
Copy link

Zodiase commented Jul 10, 2019

I'm using styled-components. The error happens with something like this:

const FooBar = memo(() => <div>foobar</div>);
const StyledFooBar = styled(FooBar)``;

StyledFooBar.whyDidYouRender = true;

image

@vzaidman
Copy link
Collaborator

vzaidman commented Aug 2, 2019

fixed in v3.3.1

@vzaidman vzaidman closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants