-
Notifications
You must be signed in to change notification settings - Fork 0
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
[공지사항] 코인 공지사항 구현 #56
Conversation
const debouncedSetFieldsValue = useDebounce(useCallback((value: string) => { | ||
form.setFieldsValue({ content: value }); | ||
}, [form]), 300); |
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.
디바운스 기능을 넣은 이유가 궁금합니다!
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.
handleFinish 함수를 완성하지 전에 생각하기로 form이 바뀌는 것을 핸들링 해야 한다고 생각했었습니다. 지금 확인해보니 onChange 이벤트를 주지 않고 debounce 관련 코드를 전부 걷어내도 정상적으로 기능하네요. 이 부분 수정하겠습니다.
코인 자체 공지사항 기능 구현했습니다.
현재 공지사항 수정 후 그 본문이 즉시 반영되지 않는 문제가 있습니다.해결 시도해보고 마땅한 방법을 못 찾을 경우 제출 후 새로고침 하는 방법을 사용할 생각입니다.