Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议 #3

Closed
huyu456 opened this issue Feb 5, 2021 · 5 comments
Closed

建议 #3

huyu456 opened this issue Feb 5, 2021 · 5 comments

Comments

@huyu456
Copy link

huyu456 commented Feb 5, 2021

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为UNSAFE的形式,我控制台总是报componentWillReceiveProps的警告

@GoodLuckAlien
Copy link
Owner

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为UNSAFE的形式,我控制台总是报componentWillReceiveProps的警告

你好,非常感谢你提出宝贵的建议,我会尽快修复问题,并进行功能优化。发布最新版本,我会第一时间通知你🌹🌹🌹

@huyu456 huyu456 closed this as completed Feb 7, 2021
@GoodLuckAlien
Copy link
Owner

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为UNSAFE的形式,我控制台总是报componentWillReceiveProps的警告

react-keepalive-router 发布1.1.2版本
更改如下:
1 增加页面生命周期 激活状态actived钩子 缓存状态钩子unActived

2 支持缓存scroll滚动条位置。

3 keepaliveRoute,UNSAFE_componentWillReceiveProps 代替 componentWillReceiveProps

4 提供了完整的demo项目。example文件夹下。

详情参考: https://github.com/GoodLuckAlien/react-keepalive-router

@huyu456
Copy link
Author

huyu456 commented Mar 3, 2021

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为UNSAFE的形式,我控制台总是报componentWillReceiveProps的警告

react-keepalive-router发布1.1.2版本
更改如下:
1增加页面生命周期激活状态actived钩子缓存状态钩子unActived

2支持缓存scroll滚动条位置。

3 keepaliveRouteUNSAFE_componentWillReceiveProps代替componentWillReceiveProps

4提供了完整的demo项目。example文件夹下。

详情参考:https : //github.com/GoodLuckAlien/react-keepalive-router

厉害了👍

@huyu456
Copy link
Author

huyu456 commented Mar 3, 2021

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为UNSAFE的形式,我控制台总是报componentWillReceiveProps的警告

react-keepalive-router发布1.1.2版本
更改如下:
1增加页面生命周期激活状态actived钩子缓存状态钩子unActived

2支持缓存scroll滚动条位置。

3 keepaliveRouteUNSAFE_componentWillReceiveProps代替componentWillReceiveProps

4提供了完整的demo项目。example文件夹下。

详情参考:https : //github.com/GoodLuckAlien/react-keepalive-router

似乎多个页面使用scroll会出现干扰的情况

@GoodLuckAlien
Copy link
Owner

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为UNSAFE的形式,我控制台总是报componentWillReceiveProps的警告

react-keepalive-router发布1.1.2版本
更改如下:
1增加页面生命周期激活状态actived钩子缓存状态钩子unActived
2支持缓存scroll滚动条位置。
3 keepaliveRouteUNSAFE_componentWillReceiveProps代替componentWillReceiveProps
4提供了完整的demo项目。example文件夹下。
详情参考:https : //github.com/GoodLuckAlien/react-keepalive-router

似乎多个页面使用scroll会出现干扰的情况

好的 真的很感谢您,稍后我会针对这个情况进行问题的排查与修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants