-
-
Notifications
You must be signed in to change notification settings - Fork 51.4k
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
perf(OTPInput): useState initializer function called only once #52878
Conversation
|
👁 Visual Regression Report for PR #52878 Passed ✅
🎊 Congrats! No visual-regression diff found. ![]() |
WalkthroughThis pull request optimizes the performance of the Changes
|
More templates
commit: |
Bundle ReportChanges will increase total bundle size by 8 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #52878 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 768 768
Lines 13847 13847
Branches 3629 3629
=========================================
Hits 13847 13847 ☔ View full report in Codecov by Sentry. |
LGTM |
同步一下 master,这次修改不应该会有 image diff 才对 |
Done! |
需要等豆酱那个 PR 先合并 |
中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
💡 Background and Solution
useState
传初始化函数,避免每次渲染重新执行参考
📝 Change Log