-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
reportWebVitals seems to disable fast refresh in some cases #12906
Comments
Happy to take a look if you provide a demo! |
ok, was able to recreate this on a small scale. I wonder if this is related to our other issues. in this branch: https://github.com/chrisdrackett/next-external-test/tree/broken if you comment out the code here: https://github.com/chrisdrackett/next-external-test/blob/broken/web/pages/_app.tsx#L7 fast refresh will work (when editing https://github.com/chrisdrackett/next-external-test/blob/broken/external/src/Wrapper.tsx), if you leave it in editing the same file will result in a full refresh |
I'm experiencing this issue. In nextjs v12, if I edit |
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
I'm still working through this and have yet to reproduce in a small example. In our app if you add
to
_app.tsx
fast refresh will no longer work for some components. Take the above out and it appears to work for everything.The text was updated successfully, but these errors were encountered: