Q&A
질문있습니다...
`return`을 해줘야 다음 `then`에서 이어져요.
- いいね数
- 1
- コメント数
- 4
- 閲覧数
- 518
Q&A
`return`을 해줘야 다음 `then`에서 이어져요.
Q&A
useEffect( () => { const handleKeyPress = e => e.keyCode == 27 && onClose(); window.addEventListener('keyup', handleKeyPress); return () => { window.removeEventListener('keyup', handleKeyPress); }; }, [] );