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): reset random initial value incorrectly #2562

Merged
merged 5 commits into from
Jun 12, 2024

Conversation

hemengke1997
Copy link
Contributor

@hemengke1997 hemengke1997 commented Jun 4, 2024

[中文版模板 / Chinese template]

🤔 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 fix(useResetState): reset random initial value incorrectly
🇨🇳 Chinese fix(useResetState): 错误的重置随机初始值

☑️ 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 Jun 4, 2024

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.

@hemengke1997
Copy link
Contributor Author

@liuyib lock文件麻烦你那边处理一下,谢谢

@liuyib
Copy link
Collaborator

liuyib commented Jun 4, 2024 via email

@liuyib liuyib self-requested a review June 4, 2024 05:41
@liuyib liuyib changed the title Fix random fix(useResetState): reset random initial value incorrectly Jun 4, 2024
@crazylxr crazylxr merged commit d02d146 into alibaba:master Jun 12, 2024
7 of 8 checks passed
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 并不能准确记录 第一次的初始值
4 participants