-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- mutate 함수 이름을 removeComment로 변경 - useMutation으로 댓글 삭제 API 함수 구현 완료 - onRemove 이벤트 함수 구현 완료 - useCallback을 이용해서 리액트가 함수를 저장하고 의존성 배열이 바뀌지 않으면 함수를 재생성하는 것을 막아서 효율성 확대
- Loading branch information
Showing
1 changed file
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters