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

Wrap the second parameter of the return value from useSetState with useMemoriedFn. #2592

Merged
merged 4 commits into from
Sep 26, 2024

Conversation

askwuxue
Copy link
Contributor

@askwuxue askwuxue commented Jul 11, 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

#2583

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Wrap the second parameter of the return value from useSetState with useMemoriedFn.
🇨🇳 Chinese useSetState 返回值中的第二个参数使用 useMemoriedFn 包裹

☑️ 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

@crazylxr crazylxr merged commit f58f34d into alibaba:master Sep 26, 2024
2 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.

2 participants