Comments (5)
Hi! I am working with ReactCSSTransitionGroup and when switching between views it doesn't keep the state, this could be a bug related to this issue?
from react-router-cache-route.
@martinolazzeri Meaning CacheRoute doesn't work with TransitionGroup? It could be related to #30
TransitionGroup
work well while component being mounted or unmounted
CacheRoute
prevent mounted components from unmounting, hiding instead
Which causing TransitionGroup
doesn't work when CacheRoute
seems like being 'unmounted'.
I tend to think that this is not a bug but an unimplemented feature.
I am going to working on it.
from react-router-cache-route.
ok, I will wait for the update! thanks!
from react-router-cache-route.
@CJY0208 大神,你大概什么时候有时间完善这个功能呢?我目前的项目用这两个组件也遇到了同样的问题
from react-router-cache-route.
@MissLlq 是动画支持的问题吗?如果是可以移步 #30 中讨论
很遗憾地说...目前我自个儿的业务比较忙,可能近期还没时间处理这个功能
from react-router-cache-route.
Related Issues (20)
- 请问 我进入三级路由后 使用this.props.history.goBack()回退到 二级页面 HOT 1
- 嵌套路由页面不展示 HOT 8
- props.match not available while cached HOT 1
- CacheRoute pathname prop is gone HOT 5
- push和replace时不使用已经缓存的页面 HOT 2
- 记录启用 multiple 时 href 中有中文的一个 BUG 及解决方案 HOT 2
- 用react 17 的ReactDOM.render(), 缓存成功, 但不支持react 18的版本 ReactDOM.createRoot() 缓存失败,请问有兼容方案? HOT 6
- 带参数详情页面多份数据缓存如何做? HOT 4
- 带有参数的页面,离开页面的时候useParams会返回undefined,导致无法维持原来的页面组件状态 HOT 3
- 请问下作者如何处理跳转路径完全相同,但是state不同的情况 HOT 2
- 路由里存在中文,路由会缓存2份
- 开启multiple后,带querystring的路由缓存失败
- 请问 在cache-route中如何实现仅在切换路由列表时卸载当前页面组件 谢谢 HOT 1
- `CacheSwitch` re-mount the same component if path changes HOT 1
- item/detail/:id 这种带参数的路由缓存不了,
- 在路由back后,怎么让缓存的组件不重新render呢? HOT 1
- 怎么实现头部Tabs页签的效果?能否提供一些示例? HOT 1
- How to turn off the display:none of the component HOT 5
- 使用CacheRoute缓存路由,出现闪烁
- 【咨询】为什么 Updatable 内部的 Freeze 需要 Delay 1s HOT 2
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-router-cache-route.