Comments (3)
Just installed it, and the same for me...
from react-keep-alive.
me too ?怎么解决呢
from react-keep-alive.
Give a try react-fiber-keep-alive, the react fiber based keep-alive implementation.
from react-keep-alive.
Related Issues (20)
- The onClick inside of <KeepAliveProvider /> not work in React 17 HOT 6
- 大佬,我想问下,该插件兼容redux吗?因为详情页面的数据,都是用的同一个字段,每次请求新的详情页面,都会替换之前的redux数据,关于该问题,您这边有解决方法吗?
- 你好,页面包裹KeepAlive之后,state改变,不会重新渲染组件。
- 更新state数据之后,通过props传递给下层组件,下层组件不会重新渲染。 HOT 1
- keep-alive在iframe场景下会失效 HOT 1
- Props aren't updating when wrapped in KeepAlive HOT 1
- onClick event is not working HOT 7
- hooks 中组件离开时,无法获取deactive组件的滚动距离
- 用了以后父子组件的props各种乱套,失效,已经放弃了 HOT 1
- removeCache方法匹配key和name的bug HOT 1
- New implementation HOT 1
- 缓存后的组件,按钮点击等事件无效,这是怎么回事呢 HOT 8
- componentDidActivate Not implemented
- How to force rerender (refresh) the keepalive component (page) ?
- 使用KeepAlive包裹住组件后,里面的点击事件没有效果了 HOT 3
- Try react-fiber-keep-alive
- react-router-dom 6 以上,包裹后报错 HOT 1
- KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。 HOT 4
- vite工程下,出现错误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-keep-alive.