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

路由切换动画问题

Open chenghy opened this issue 7 years ago • 1 comments

请问react-keeper 怎么实现页面切换动画,我按https://www.cnblogs.com/qq120848369/p/6066837.html 这篇文章操作,改了下key值(this.props.param.pathname或this.props.pathname) image 发现页面切换时无动画效果。如果把该key值换成随机数(如:Math.random()),发现动画是可以的,但缓存的页面却失效了。每次切换,数据都会重新加载,效果不太理想。请问有什么好的解决办法吗?

chenghy avatar Jan 19 '18 09:01 chenghy

Good one: next version 3

lanistor avatar Mar 04 '18 08:03 lanistor