(react)bundle.js在编辑反应组件和重新加载时加载需要很长时间

发布于 2025-02-11 08:22:33 字数 354 浏览 1 评论 0原文

在任何React项目中,代码有多小和简单都无关紧要。进行任何更改后,网站的重新加载需要长时间30秒或更长时间。打开网络选项卡时,我发现bundle.js文件正在加载。

我试图重新安装纱线和反应书 我也浏览了埃斯林,这无所作为 还将我的Intel MacBook Pro更新为最新的Mac OS软件(Monterey)

netrok noreferrer“>网络tab loading bugiting bugion.js in Chrome << /a>

in any react project it doesn't matter how small and simple the code is. when any changes are made the website's reloading takes a long time 30 seconds or more. when I open the network tab i find that bundle.js file is loading.

I have tried to reinstall yarn and react-scripts
I have also delted eslint which lead to nothing
also updated my intel macbook pro to the latest mac os software (Monterey)

network tab loading bundle.js in chrome

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文