라이브러리와 관심사 분리 #596
al-bur
started this conversation in
Today I Learned
Replies: 2 comments
-
|
예시가 정말 공감되네요. RHF 으로 엄청 고생했는데 관심사를 분리해주고 나니까 겨우 숨쉴만해진 것 같아요..ㅠㅠ |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
리액트의 두줄기 빛..! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
뭔가 라이브러리를 잘 사용하기만 해도 관심사 분리는 최소한 잘 되는 거 아닐까하는 생각이 들었어요!
ex) react-hook-form을 사용하면, 자연스레 form에 대한 검증을 각 필드 컴포넌트랑 묶을 수 도 있을 것이고, react-query를 활용하면 서버 데이터 관리는 자연스레 react-query와 엮이게 되면서 프로젝트내 코드의 복잡성을 떨어뜨릴 수 있지 않을까 생각했어용
Beta Was this translation helpful? Give feedback.
All reactions