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

createRoot创建的项目使用keepAlive的问题 #257

Open
windshowastore opened this issue Feb 28, 2023 · 2 comments
Open

createRoot创建的项目使用keepAlive的问题 #257

windshowastore opened this issue Feb 28, 2023 · 2 comments

Comments

@windshowastore
Copy link

在使用createRoot创建的项目中使用keepAlive的时候会导致异步组件在第一次加载的时候不显示,非严格模式,在切换为render的时候可以正常加载

@CJY0208
Copy link
Owner

CJY0208 commented Feb 28, 2023

对 createRoot 的支持不太理想,最好使用 render,参考 #225

@GrinZero
Copy link

这好像也是我的问题,通过createRoot创建的项目,在进行路由前进后退时,由于我的页面级组件是异步组件,前进后退时无法显示异步组件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants