You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to integrate this package in my electron-vite project like it's demonstrated in the docs, everything works perfectly fine, but I'm getting following error logged into the console on each reload: bad HTTP response code (404) was received when fetching the script.
Below this code I actually create component tree root.
There are no other scripts that are executed before this one in the renderer process and I'm not importing anything else from react above those lines. I'm able to use the module by including <script src="https://unpkg.com/react-scan/dist/auto.global.js"></script> and I don't get any errors, but the problem with approach is that I should conditionally apply the scan if according env is true.
The text was updated successfully, but these errors were encountered:
Thanks for this amazing package.
I'm trying to integrate this package in my electron-vite project like it's demonstrated in the docs, everything works perfectly fine, but I'm getting following error logged into the console on each reload:
bad HTTP response code (404) was received when fetching the script
.This is how I'm importing the package:
Below this code I actually create component tree root.
There are no other scripts that are executed before this one in the renderer process and I'm not importing anything else from react above those lines. I'm able to use the module by including
<script src="https://unpkg.com/react-scan/dist/auto.global.js"></script>
and I don't get any errors, but the problem with approach is that I should conditionally apply the scan if accordingenv
is true.The text was updated successfully, but these errors were encountered: