Extension causes an error with react devtool.
I have installed the extension after following the instruction and as soon as I activate it, this error from react dev tool appears. this error does not happen when I deactivate the react-scan extension.
Locally it blocks the page, but its possible to close the error overlay and then it is possible to use the app and extension functions as expected. in the deployed version there is only an error on the console.
This issue exists on any react/nextjs page that i visited.
Thanks :) The PR of the new version is here PR 322. You can test it with:
brave-extension-v1.0.8.zip chrome-extension-v1.0.8.zip firefox-extension-v1.0.8.zip
Please let us know if it works correctly! :)
Hi @pivanov Thank you for looking into it, unfortunately after installing the new version I still get the same error with the extension, which still seems like having some conflict with React Dev Tool extension, I am not sure if its something on my side or not but I have tested it on multiple chrome instances. only on incognito where I dont have react dev tool this issue does not happen.
the errors are:
Uncaught TypeError: window.__REACT_DEVTOOLS_GLOBAL_HOOK__.on is not a function at installHook.js:52:41 at installHook.js:1:151562 at installHook.js:1:151566
and
Uncaught TypeError: Cannot read properties of undefined (reading 'has') at registerRenderer (backendManager.js:1:24203) at backendManager.js:1:25822 at Map.forEach (<anonymous>) at backendManager.js:1:25809 at welcome (backendManager.js:1:26160)
let me know if I can provide any other information
I have deactivated react dev tool for now and the error is gone, but for the time being I need to switch between them. :)
Still got this issue with v1.0.9
Same here using v1.0.9 from chrome webstore
Also seeing the issue, looks related to Bippy instrumentation
I believe this is fixed in extension version 1.0.10, which has not been published to the chrome web store. It's available directly through the repo, instructions here- https://github.com/aidenybai/react-scan/blob/main/BROWSER_EXTENSION_GUIDE.md
Waiting on my verification from chrome web store to be able to publish latest
I believe this is fixed, and haven't seen any activity here showing otherwise, so going to close the issue
Just FYI the chrome store still shows version 1.0.9. I see the version here is already on 1.1.4 but that version still causes errors:
at installHook.js:1:146165
at installHook.js:1:146169
Just FYI the chrome store still shows version 1.0.9. I see the version here is already on 1.1.4 but that version still causes errors:
at installHook.js:1:146165 at installHook.js:1:146169
same experience, the chrome store version is 1.0.9 and it throws error constantly