Skip to content

Conversation

@jejukyj
Copy link
Member

@jejukyj jejukyj commented Sep 11, 2024

이번 스터디를 진행하며 새로 알게 된 점

  • 이벤트 핸들러 작성법

    • 관습적으로 handle로 시작하며 이벤트명을 이어붙입니다.
  • 이벤트 전파 및 새로고침 방지 하는 법

    • 전파 방지 : e.stopPropagation() 호출
    • 새로고침 방지 : e.preventDefault() 호출

과제 수행 과정에서 어려웠던 점

  • 에러를 찾아 전파 방지와 새로고침 방지를 수행할 때 함수에서 호출하는 방법과 컴포넌트에서 호출하는 방식이 달라 어떻게 작성해야할지 고민하는 시간이 길었습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants