한수빈
@hsb680062103
수강평 작성수
2
평균평점
5.0
소개글이 비어있어요
게시글
질문&답변
질문있습니다...
`return`을 해줘야 다음 `then`에서 이어져요.
- 좋아요수
- 1
- 댓글수
- 4
- 조회수
- 488
질문&답변
esc 를 눌렀을 경우 동작
useEffect( () => { const handleKeyPress = e => e.keyCode == 27 && onClose(); window.addEventListener('keyup', handleKeyPress); return () => { window.removeEventListener('keyup', handleKeyPress); }; }, [] );
- 좋아요수
- 0
- 댓글수
- 2
- 조회수
- 341




