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

chore: ComboBoxのusePartialRenderingの処理を最適化する #5331

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

AtsushiM
Copy link
Member

関連URL

概要

変更内容

確認方法

Copy link

pkg-pr-new bot commented Jan 25, 2025

Open in Stackblitz

npm i https://pkg.pr.new/kufu/smarthr-ui@5331

commit: a4cfe2b

@yagimushi yagimushi force-pushed the chore-refactoring-ComboBox-usePartialRendering branch from 0a03773 to d2110e8 Compare January 25, 2025 01:54
// minLength も考慮した実際のアイテム数を算出
const actualLength = useMemo(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currentItemLength が正しくMath.maxされていればこの変数自体が不要です。

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.

1 participant