react-router-cache-route icon indicating copy to clipboard operation
react-router-cache-route copied to clipboard

Route with cache for react-router V5 like <keep-alive /> in Vue

Results 42 react-router-cache-route issues
Sort by recently updated
recently updated
newest added

react16、react-router5,正常install和引用,报ts2305: Module has no exported member,请问这个需要怎么解决?

[demo](https://codesandbox.io/s/cacheroute-online-demo-52ury) 有A和B两个路由缓存,在A内部又有A-1和A-2两个路由缓存,从A-1路由直接跳转B页面时,A-1没有缓存,仅仅缓存了A,使用删除缓存的方法也无法清除A-1

bug
help wanted

在ios微信浏览器里面 返回记录的位置不准确 有时会回到顶部 有解决方案吗

在cordova9.0的ios容器中, node.scrollWidth与node.clientWidth以及node.scrollHeight与node.clientHeight始终相等, 导致saveScrollPosition时找不到需要save的元素. 是否可以直接改成下面的形式? `function isScrollableNode(node = {}) { if (!isExist(node)) { return false } return node.scrollTop > 0 || node.scrollLeft > 0 }`

如题,在react16.3.2 + react-router 4.2.0 下使用,react-router-cache-route版本是1.8.4,页面并没有缓存,求解答

把CacheSwitch换成Switch 就不会有问题 求解 ![image](https://user-images.githubusercontent.com/21153269/67937451-9918fb80-fc08-11e9-908f-8a008915192e.png) ![image](https://user-images.githubusercontent.com/21153269/67937485-a33afa00-fc08-11e9-9140-5e314b004608.png) ![image](https://user-images.githubusercontent.com/21153269/67937521-b3eb7000-fc08-11e9-97c4-21d466da1ad2.png)

invalid

你好,在electron 下使用该控件发现push后,上一个控件一样会调用 componentWillMount 并且被清除掉,数据和滚动位置都没有保存到。 已经改成 另外 didCache 和 didRecover 调用正常

bug

![image](https://github.com/CJY0208/react-router-cache-route/assets/25196057/3edba0eb-e6cd-4af3-a586-58dc5a8400ac)

请问在切换路由的时候如何让Iframe不会重新加载