-
Notifications
You must be signed in to change notification settings - Fork 3
개발 관련 컨벤션 (자잘한것들 기록)
Kwon soon won edited this page Nov 30, 2020
·
3 revisions
- API는 대문자로.
- styled-components 이름은 Container, Box 형식으로.
- redux state selector는 hooks에 넣어서 관리하고 useUser 이런식으로 불러올것.
- query문은 SELECT, FROM, 의 구문 단위로 끊고, SELECT가 길면 쉽표 뒤에 적절히 끊자.
- DB table의 필드명은 snake_case로. (sub_thread_user_id_1)
- 스타일 크기는 rem으로