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
Why react app keep calling ws/info and ws/iframe.html ? #13524
Comments
Do you have any chrome plugins that might be the culprit here? |
There are a couple of reasons why your React app might be calling ws/info and ws/iframe.html multiple times and causing your scripts in index.html to be loaded repeatedly. Here's how to diagnose and fix the issue:
Create React App uses Webpack for bundling your code. In rare cases, Webpack's code splitting might be causing these additional calls. Look for any code in your components that might be dynamically importing these resources using import() statements.
It's more probable that an external dependency you've installed is making these calls. Some libraries might use WebSockets or iframes for internal functionality and might be fetching information from these URLs. Solution: Review the documentation of any third-party libraries you've included in your project. Look for known behavior related to WebSockets or iframes.
Use your browser's developer tools to inspect network requests. This will help you identify which part of your code is making the calls. |
I have setup new project using create-react-app, and saw my scripts inside index.html are called multiple time
The text was updated successfully, but these errors were encountered: