-
Notifications
You must be signed in to change notification settings - Fork 144
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
在umi的layout中使用keepalive包裹outlet的疑问 #299
Comments
https://stackblitz.com/edit/react-ts-acqxdi?file=Page.tsx,Layout.tsx,index.tsx |
请问你解决了吗 |
暂时先把缓存变为组件层级,用hoc包裹就行。outlet内部应该是有变化的 |
能贴一下代码不,刚开始学习不太明白😂 |
在你要用的组件(页面级别的, Test是原来封装的组件) |
感谢大哥🙏 |
No description provided.
The text was updated successfully, but these errors were encountered: