chore(deps): update dependency ahooks to v3.9.7#1482
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency ahooks to v3.9.7#1482renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.9.6→3.9.7Release Notes
alibaba/hooks (ahooks)
v3.9.7Compare Source
What's Changed
🐛 Bug 修复
useInfiniteScroll使用requestAnimationFrame来更新滚动位置。useRequest在ready=false时runAsync未立即返回的问题(无 pending 状态)。useKeyPress添加了旧版 key 别名以提高兼容性。useRafInterval在执行函数内部调用clear无效的问题。🛠️ 代码重构
useUpdate中的useCallback替换为useMemoizedFn。useIsomorphicLayoutEffect中使用noop替代useEffect。🔧 性能优化
📖 文档更新
alt属性以提升可访问性。🐛 Bug Fixes
requestAnimationFrameto update scroll position inuseInfiniteScrollin #2881.runAsyncdid not return immediately whenready=false(no pending) inuseRequestin #2866.useKeyPressin #2900.clearinside the execution function ofuseRafIntervaldid not take effect in #2884.🛠️ Code Refactoring
useCallbackwithuseMemoizedFninuseUpdatein #2887.noopinstead ofuseEffectinuseIsomorphicLayoutEffectin #2859.🔧 Performance
📖 Documentation Updates
altattributes to discussion group images for accessibility in #2892.New Contributors
Full Changelog: alibaba/hooks@v3.9.6...v3.9.7
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.