react-activation icon indicating copy to clipboard operation
react-activation copied to clipboard

Hack <KeepAlive /> for React

Results 69 react-activation issues
Sort by recently updated
recently updated
newest added

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

Hi, I have implemented keepalive for tab switching and get this weird behavior when switching between tabs I get `useUnactivate` fired once and `useActivate` fired three times for each tab....

请问这几个属性之间有什么区别呢,可不可以只填写一个就具有彼此的功能。比如我传递了 cacheKey,就不需要写 name 也可以

"react": "16.14.0", "react-router": "^6.4.0", "react-router-dom": "^6.4.0", "react-activation": "^0.12.2" 使用 useOutlet,参照以往react-router v6 issue 只使用 keepAlive 没缓存效果,加上 AliveScope 就报这个 ctx 错误,刚使用react不久,麻烦大佬指点一下,万分感谢! 我有看到文档中有写 “Note: When used with react-router or react-redux, you need to...

目前遇到了清除AliveScope的应用时,发现AliveScope内部的keepalive无法清除,被Detach了。这个怎么解决

Hi! nice library, but I'd like to ask for help solving an issue with React 18 and createPortal. ### Current Behaviour: When using KeepAlive inside portals, the component wrapped by...

请问各位大佬 ,对于缓存的页面切换过程当中会刷新form的值如何解决,跳转是使用historypush的形式与动态路由的形势!

使用KeepAlive组件后,react-router-dom errorElement失效 "react": "^17.0.2", "react-activation": "^0.12.2", "react-router-dom": "^6.5.0"

现在有这么个场景 1、pageA 中我先保活了一个组件 2、同页面我点了个弹窗,重新引用了保活的组件, 3、这个时候上一个引用的地方就会变为空 有什么方法解决吗