StructureBuilder/react-keep-alive
A component that maintains component state and avoids repeated re-rendering.
TypeScriptMIT
Pinned issues
Issues
- 0
umi 2.0 genRenderPath v0.6. How to resolve?
#148 opened by wqinglin - 4
KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。
#146 opened by lishanhuan - 1
react-router-dom 6 以上,包裹后报错
#145 opened by limengyao - 8
缓存后的组件,按钮点击等事件无效,这是怎么回事呢
#133 opened by BoBoDinachen - 3
使用KeepAlive包裹住组件后,里面的点击事件没有效果了
#137 opened by mengliren666 - 0
vite工程下,出现错误
#147 opened by ShiHuanYan - 4
项目中 demo 文件 Provider 加入属性 exclude 报错
#68 opened by Ray-56 - 13
如何手动清除已经被缓存了的某个组件
#65 opened by Myhappyboy - 0
Try react-fiber-keep-alive
#139 opened by shenjunru - 3
useKeepAliveEffect dosent work
#126 opened by theashbars - 1
New implementation
#132 opened by alessandro308 - 0
- 1
removeCache方法匹配key和name的bug
#130 opened by Harres-hub - 7
onClick event is not working
#114 opened by happy-func - 0
componentDidActivate Not implemented
#134 opened by MrRENGE - 6
Type file declaration on package.json
#69 opened by himself65 - 1
用了以后父子组件的props各种乱套,失效,已经放弃了
#124 opened by chinaxcy - 2
- 1
Props aren't updating when wrapped in KeepAlive
#110 opened by jmkenz - 6
- 0
hooks 中组件离开时,无法获取deactive组件的滚动距离
#117 opened by SupermanWY - 1
- 1
keep-alive在iframe场景下会失效
#108 opened by Can-Chen - 1
更新state数据之后,通过props传递给下层组件,下层组件不会重新渲染。
#106 opened by BiggerHacker - 0
你好,页面包裹KeepAlive之后,state改变,不会重新渲染组件。
#104 opened by BiggerHacker - 4
使用keepalive后,返回页面报错,请问是为什么呢?
#71 opened by mangoooooo - 0
大佬,我想问下,该插件兼容redux吗?因为详情页面的数据,都是用的同一个字段,每次请求新的详情页面,都会替换之前的redux数据,关于该问题,您这边有解决方法吗?
#102 opened by 1101916341 - 2
KeepAlive reverses {children} order.
#76 opened by rafegoldberg - 0
`KeepAlive`由于使用`PureCompoennt`实现会影响子组件正常渲染
#100 opened by qiqiboy - 1
Unmount components
#93 opened by sm2017 - 0
可以配合dva使用吗
#99 opened by qiao22 - 0
- 14
如何通过<KeepAlive name='ss'> name清除缓存
#62 opened by 15108255748 - 7
- 0
SSR support
#96 opened by khanbaba - 1
- 3
手动移除缓存
#64 opened by fisher-zwl - 0
请问 disabled: 这个禁用怎么使用?
#91 opened by lllomh - 1
antd 国际化失效
#83 opened by dz333333 - 1
页面跳转前总会滚动到顶部
#67 opened by zhanglongjiZLJ - 0
退出登录,清除token,页面崩溃(graphql)
#78 opened by RealReignLiu - 0
- 1
- 1
- 0
How to keep previous page scroll position ?
#66 opened by ferrytt - 1
- 2
如何配合支付宝的umijs 一起使用
#60 opened by lebron112 - 1
看以下的问题,这个组件还是不稳定是吗,上面的问题什么时候能修复请问?
#61 opened by wangyinwei1 - 4
disabled属性变动时,componentWillUnmount异常的问题
#58 opened by Chenjiayuan195 - 2
大哥能不能给你提个小小的需求:不缓存React-Router的信息
#57 opened by zhoutengshen