Skip to content
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

vite切换路由出现reloading #13144

Closed
7 tasks done
enjoy-wind opened this issue May 10, 2023 · 1 comment
Closed
7 tasks done

vite切换路由出现reloading #13144

enjoy-wind opened this issue May 10, 2023 · 1 comment

Comments

@enjoy-wind
Copy link

Describe the bug

image 路由切换如果加载新的依赖,就会出现reload,而且是点击路由几秒后,又重新reload,体验十分不好。 这种情况在冷启动重现比较频繁,停止vite,再次启动Vite后热启动也会出现,我不知道是依赖优化的设计问题还是bug问题

期望:
1.解决优化构建问题,为什么新增依赖构建需要重新reload.
2.优化构建是否也可以根据路由静默更新,当我访问A页面,偷偷构建B页面
3.是否可以提供比较全面的优化构建设计,以便一起想办法解决.

Reproduction

Steps to reproduce

System Info

vite: 4.3.5
node: 16
mac

Used Package Manager

yarn

Logs

No response

Validations

@bluwy
Copy link
Member

bluwy commented May 14, 2023

Duplicate of #5419

@bluwy bluwy marked this as a duplicate of #5419 May 14, 2023
@bluwy bluwy closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants