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

fix(useResetState): random initial value changed #2308

Closed
wants to merge 5 commits into from
Closed

fix(useResetState): random initial value changed #2308

wants to merge 5 commits into from

Conversation

hemengke1997
Copy link
Contributor

@hemengke1997 hemengke1997 commented Sep 1, 2023

🤔 This is a ...

  • 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

fix: #2306

修复了 #2306 中随机数初始值reset后没有恢复的问题

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English useResetState: random number was not restored after initial value reset
🇨🇳 Chinese 修复了useResetState随机数初始值reset后没有恢复的问题

☑️ Self Check before Merge

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

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

@CLAassistant
Copy link

CLAassistant commented Sep 1, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ liuyib
❌ hemengke1997
You have signed the CLA already but the status is still pending? Let us recheck it.

@liuyib liuyib changed the title fix: random initial value changed (#2306) fix(useResetState): random initial value changed Sep 5, 2023
@hemengke1997 hemengke1997 closed this by deleting the head repository Jan 24, 2024
@liuyib
Copy link
Collaborator

liuyib commented Jun 4, 2024

@hemengke1997 你 fork 的 ahooks 仓库被你删除了,导致这个 PR 被关闭了。要不你再发起个新的 PR?如果没时间的话,麻烦通知我下,我来发起个新的 PR,多谢

@hemengke1997
Copy link
Contributor Author

不好意思,时间太长了,我都忘了这个pr了,我重新pull一下

@liuyib
Copy link
Collaborator

liuyib commented Jun 5, 2024

移步到新的 PR: #2562

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

Successfully merging this pull request may close these issues.

useResetState 并不能准确记录 第一次的初始值
3 participants