hooks icon indicating copy to clipboard operation
hooks copied to clipboard

Feat/new hooks use page cache state

Open bbb169 opened this issue 1 year 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

https://github.com/alibaba/hooks/issues/2416

💡 Background and solution

📝 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
  • [x] Changelog is provided or not needed

bbb169 avatar Sep 09 '24 15:09 bbb169

你这文档和代码好像都不符合,跟 useLocalStorageState 的主要区别是啥?增加了 页面的概念?

crazylxr avatar Sep 22 '24 02:09 crazylxr

你这文档和代码好像都不符合,跟 useLocalStorageState 的主要区别是啥?增加了 页面的概念?

文档忘改了,这个就是完全按照https://github.com/alibaba/hooks/issues/2416 这个issue设计的pr,不用看md文件,我后续改一下

bbb169 avatar Sep 22 '24 04:09 bbb169