Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat(sidebar): develop new component #2868
feat(sidebar): develop new component #2868
Changes from 19 commits
9de3122
6317e51
daff164
8010707
bec5d79
4354a63
4539dc5
fc0bdbd
96129ff
77f595c
25fce1e
c7f1018
a6c6a7a
e737a7c
928c72a
c765272
8c77a94
e30d95f
d1f0093
846e4c7
1977729
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
建议优化大列表渲染性能
当列表项较多时,建议使用虚拟列表来优化性能。可以考虑使用
react-window
或react-virtualized
库。另外,建议将列表数据抽离到组件外部:
Also applies to: 16-20