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

Chrome extention not detectin react. #263

Open
daviddanielng opened this issue Feb 18, 2025 · 1 comment
Open

Chrome extention not detectin react. #263

daviddanielng opened this issue Feb 18, 2025 · 1 comment
Assignees

Comments

@daviddanielng
Copy link

I followed the instruction to install the extension.

I tried it, it says.

Image

I was like, huh that was strange because react devtools extension is red which is a sign that the webpage is using a development version of react.

I opened the production web page, it worked.

Image

I suspect the extension is not detecting version 19.0.0 of react, I tried to downgrade the react version but I ran hundred of errors. Apparently, one of the former devs was someone that chased the latest and took hours upgrading projects to the lastest.

The production is still on a react version older than 19, we couldn't push an update due to some linting errors and breaking changes.

@pivanov
Copy link
Collaborator

pivanov commented Feb 18, 2025

Can you try with this repo:
https://github.com/react-scan/react-scan-vite-example
I just try the extension with this repo and it works (it use React 19)
The message you see is that for some reason can't detect react on the page at all (it this is right after the extension installation maybe you should try to close the tab and open it again)

@pivanov pivanov self-assigned this Feb 18, 2025
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