중복 코드 허용하기 | Frontend Fundamentals #91
Replies: 1 comment 2 replies
-
안녕하세요. 좋은 내용의 글 감사합니다. 공통화하는 기준에 대한 질문이 있습니다. 어느 정도로 중복되면 공통화를 하고, 공통화를 할 때 얼마나 넓은 범위를 공통화해야 하는지가 궁금합니다. 예를 들어 점검 바텀 시트를 닫을 때 화면을 같이 닫을지 여부 조건을 주는 쪽으로 훅을 만들어 공통화하는 방식도 있을 텐데, 공통화 한 부분에 어느 정도의 분기 범위를 포함해야 하는지가 궁금합니다. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
중복 코드 허용하기 | Frontend Fundamentals
변경하기 쉬운 프론트엔드 코드를 위한 지침서
https://frontend-fundamentals.com/code/examples/use-bottom-sheet.html
Beta Was this translation helpful? Give feedback.
All reactions