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: 사용자 정보기입 페이지 구현 #10
feat: 사용자 정보기입 페이지 구현 #10
Changes from 9 commits
b82c26e
0e92c89
0884eef
2e81490
0b528bf
a885d72
ae8f635
7008a2c
912ecc8
8b47f5f
9679472
7178a1c
00c4a53
f4fdb1a
a6a89bc
7164371
cd07a0d
d083a10
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
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.
내부안에 이벤트 할당하는 함수는 function 선언식 대신에 함수 표현식으로 작성해주세요!
useCallback 적용하는데 더 좋아요
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.
혹시 해당 함수가 왜 useCallback을 적용하는게 더 좋다고 생각하셨는지 알 수 있을까요?
해당 함수는 자주 변하는 inputText 상태에 의존적인데, useCallback의 의존성으로 inputText를 설정하면 재생성이 너무 자주 일어나 효용이 떨어지고, 그렇다고 의존성 배열에 입력하지 않으면 해당 상태변화가 적용되지 않는 문제점이 생깁니다
This file was deleted.