Giter Club home page Giter Club logo

Comments (5)

GoodLuckAlien avatar GoodLuckAlien commented on July 25, 2024 1

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

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

from react-keepalive-router.

GoodLuckAlien avatar GoodLuckAlien commented on July 25, 2024

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为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

from react-keepalive-router.

huyu456 avatar huyu456 commented on July 25, 2024

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为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

厉害了👍

from react-keepalive-router.

huyu456 avatar huyu456 commented on July 25, 2024

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为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会出现干扰的情况

from react-keepalive-router.

GoodLuckAlien avatar GoodLuckAlien commented on July 25, 2024

希望可以增加保存滚动位置的功能
是否可以将快弃用的钩子修改为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会出现干扰的情况

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

from react-keepalive-router.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.