【问题标题】:React App continually shows as loading in Chrome browser on localhostReact App continually shows as loading in Chrome browser on localhost
【发布时间】:2022-12-26 17:32:28
【问题描述】:

I have a react app, that continually shows as loading when run on local host. As in the page loads completely and all the network calls are resolved and works as expected, but it still has the spinner on the tab name. However if I manually refresh the page after the initial load it will then show as fully loaded.

It works fine in other browsers, and in other environments.

The issue with this is when running cypress tests they fail as they wait for the "load" event to fire, which it does not.

【问题讨论】:

    标签: reactjs localhost


    【解决方案1】:

    I was facing the same issue. But somehow upgrading Chrome fixed it for me.

    【讨论】:

      猜你喜欢
      • 2022-12-27
      • 2017-08-07
      • 2019-07-18
      • 2022-12-27
      • 2020-07-06
      • 1970-01-01
      • 2016-06-04
      • 1970-01-01
      • 2019-07-30
      相关资源
      最近更新 更多