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

Support react-refresh #201

Closed
gk4m opened this issue May 27, 2021 · 2 comments
Closed

Support react-refresh #201

gk4m opened this issue May 27, 2021 · 2 comments

Comments

@gk4m
Copy link

gk4m commented May 27, 2021

Does why-did-you-render support react-refresh? Currently, I'm trying to setup it in a project where I'm using react-refresh and I'm getting these errors (attached screenshot)

image

@vzaidman
Copy link
Collaborator

Yes, it's suppsoed to be supported.
are you sure wdyr.js runs before anything else in the app?

@gk4m
Copy link
Author

gk4m commented May 27, 2021

My bad, wydr.js was imported in the wrong place. It works now, thanks :)

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