-
Notifications
You must be signed in to change notification settings - Fork 23
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
Pro v5 中使用 KeepAlive 包裹的组件没有渲染出来 #32
Comments
这样写应该是没问题的,能提供你的 demo 吗? |
umi 里面我想让 所有的路由 都被cache 但是除了首页只有第二个tab 可以正常显示 第三个tab里面显示的路由 是第二个tab对应路由的内容 |
请问解决了吗,我也需要所有的路有都被包含,做成多标签tab的。单个写很显然不太正常 |
我用了 umi-plugin-panel-tabs 能渲染全部路由,但是子组件,例如 BetaSchemaForm,第二次打开就不会渲染表单了。 |
@chenyu1990 看看 node_modules 内部用的 umi-plugin-keep-alive 版本是多少?升到 beta.31 试试 |
欢迎试用 react-fiber-keep-alive,https://www.npmjs.com/package/react-fiber-keep-alive |
这样写没问题吧?还需要在其他地方有配置吗?
The text was updated successfully, but these errors were encountered: