hooks icon indicating copy to clipboard operation
hooks copied to clipboard

feat(useHistoryTravel): add manual update option

Open Debbl opened this issue 2 years ago • 2 comments

[中文版模板 / Chinese template]

🤔 This is a ...

  • [x] New feature
  • [ ] Bug fix
  • [ ] Site / documentation update
  • [ ] Demo update
  • [ ] TypeScript definition update
  • [ ] Bundle size optimization
  • [ ] Performance optimization
  • [ ] Enhancement feature
  • [ ] Internationalization
  • [ ] Refactoring
  • [ ] Code style optimization
  • [ ] Test Case
  • [ ] Branch merge
  • [ ] Other (about what?)

🔗 Related issue link

resolve: https://github.com/alibaba/hooks/issues/2272

💡 Background and solution

需要手动的提交历史记录。为了更好的兼容性,没有改变 maxLength 的传递方式, 本地跑了我自己写的测试,运行后没有看到 dome4 的效果。

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • [x] Doc is updated/provided or not needed
  • [x] Demo is updated/provided or not needed
  • [x] TypeScript definition is updated/provided or not needed
  • [ ] Changelog is provided or not needed

Debbl avatar Aug 02 '23 13:08 Debbl

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 02 '23 13:08 CLAassistant

第二个参数处理成 options 和我的想法完全一致,秀哦~,review 了一部分,剩下的回头有空再继续看

liuyib avatar Aug 03 '23 02:08 liuyib