perf(OTPInput): useState initializer function called only once#52878
perf(OTPInput): useState initializer function called only once#52878li-jia-nan merged 3 commits intoant-design:masterfrom
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 先合并 |
…#52878) Co-authored-by: thinkasany <480968828@qq.com>



中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
💡 Background and Solution
useState传初始化函数,避免每次渲染重新执行参考
📝 Change Log