Conversation
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
Summary of ChangesHello @chunjaemin, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
| const items = useMemo( | ||
| () => [ | ||
| { label: "총학생회", value: "university" }, | ||
| { label: "단과대학 학생회", value: "college" }, | ||
| { label: "학과/부 학생회", value: "department" }, | ||
| ], | ||
| [] |
There was a problem hiding this comment.
정적 배열 items에 useMemo를 사용하는 것은 불필요합니다. useMemo는 복잡한 계산 결과나 참조 동일성을 유지해야 할 때 사용하며, 이 경우에는 성능 이점이 없고 코드만 복잡하게 만듭니다. useMemo를 제거하고 items 배열을 직접 선언하는 것이 좋습니다.
| const items = useMemo( | |
| () => [ | |
| { label: "총학생회", value: "university" }, | |
| { label: "단과대학 학생회", value: "college" }, | |
| { label: "학과/부 학생회", value: "department" }, | |
| ], | |
| [] | |
| const items = [ | |
| { label: "총학생회", value: "university" }, | |
| { label: "단과대학 학생회", value: "college" }, | |
| { label: "학과/부 학생회", value: "department" }, | |
| ]; |
There was a problem hiding this comment.
readme.md파일은 예시일 뿐입니다! 데이터의 형태에 맞게 useMemo 사용여부를 결정하면 될 것 같습니다.
📝 요약
⚙️ 작업 내용
🔗 관련 이슈
관련 사진
disabled 옵션이 적용된 드롭다운 사진
