-
Notifications
You must be signed in to change notification settings - Fork 166
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
[React Scan] Failed to load. Must import React Scan before React runs. #162
Comments
Same here, running with It worked on the same site a few days ago 😩 Edit: For me it works with the script tag. |
@henryzhang03 is react-scan not working for you at all? Or is the log there, but it still works? |
Works but log is there |
Usually this is the cache (either the dev build or the browser) lagging behind, have you tried deleting the cache and/or performing hard refresh? |
yupp doesnt work |
how?? |
@myudak oh you probably have to use react-scan's auto mode (which is basically loading react-scan from the CDN), without marking it |
Is Preact supported by react-scan?
update: Will (and when) Preact be supported? |
i am receiving this error as well by using the script in Next.js App Router |
for me this was fixed using a plain |
This works for me! Thanks @jkronlachner! |
We use the script tag version. This appears "[React Scan] Failed to load. Must import React Scan before React runs." in our Next JS App Router project.
The text was updated successfully, but these errors were encountered: