react-scan icon indicating copy to clipboard operation
react-scan copied to clipboard

React Scan seems not to be working on CLI nor script tag

Open Andy9822 opened this issue 1 year ago • 10 comments

Hey guys, I've used React-Scan previously by adding the <script> tag in the index.html file of my React project and it worked just fine 🎉

However, I tried today with an external website and had no luck using it; it didn't work either on the npx <URL> version or injecting the

Was there any breaking change recently or am I missing something?

https://github.com/user-attachments/assets/8d97f149-e9db-4d16-8dd4-ed182583a471

Andy9822 avatar Dec 25 '24 11:12 Andy9822

Hey @Andy9822 Which extension did you try? this one?

pivanov avatar Dec 25 '24 16:12 pivanov

I have the same problem. Starting from 0.0.51 it simply doesn't detect renders (or has no visual cues for it). 0.0.50 works fine, though it doesn't count the number of renders.

0.0.47 is the last version that works well for me.

Bosseskompis avatar Dec 25 '24 17:12 Bosseskompis

Hey @Andy9822 Which extension did you try? this one?

I used this one: https://chromewebstore.google.com/detail/scripty-javascript-inject/milkbiaeapddfnpenedfgbfdacpbcbam?pli=1

And yes, I double checked the "before page loads" option" was set

Andy9822 avatar Dec 25 '24 19:12 Andy9822

Hey @Andy9822 Which extension did you try? this one?

I used this one: https://chromewebstore.google.com/detail/scripty-javascript-inject/milkbiaeapddfnpenedfgbfdacpbcbam?pli=1

And yes, I double checked the "before page loads" option" was set

No no ... I mean ... did you try to install the react-scan browser extension? Check here: CHROME_EXTENSION_GUIDE.md

pivanov avatar Dec 25 '24 20:12 pivanov

Hey @Andy9822 Which extension did you try? this one?

I used this one: https://chromewebstore.google.com/detail/scripty-javascript-inject/milkbiaeapddfnpenedfgbfdacpbcbam?pli=1 And yes, I double checked the "before page loads" option" was set

No no ... I mean ... did you try to install the react-scan browser extension? Check here: CHROME_EXTENSION_GUIDE.md

Oh sorry.

Yes, I ran npx react-scan@latest <URL> and then it prompted me to install the latest version which was 0.0.54 (smth like that )

Andy9822 avatar Dec 25 '24 20:12 Andy9822

I have the same problem. Starting from 0.0.51 it simply doesn't detect renders (or has no visual cues for it). 0.0.50 works fine, though it doesn't count the number of renders.

0.0.47 is the last version that works well for me.

I can confirm that v0.0.47 did the trick and works just fine. Thanks for the tip man! gonna be using it in this version for now 😄

Andy9822 avatar Dec 26 '24 12:12 Andy9822

We made a change to our cdn script to not automatically run in production unless forced turned on- which seems to have broken the cli

Fix in the works

RobPruzan avatar Dec 26 '24 23:12 RobPruzan

Seeing the same issue. Anything newer than 0.0.47 doesn't show any re-renders

arjun-dureja avatar Jan 25 '25 23:01 arjun-dureja

I had 1.1.0 working last week but suddendly it stopped working, now only versions lower than 0.0.47 work

noahwaldner avatar Jan 28 '25 20:01 noahwaldner

I have two projects. In the first one the last version works without issues, in my second project anything higher than the 0.0.54 won't work, or at leat it doesn't show the renders

Darkfra10 avatar Jan 29 '25 16:01 Darkfra10