폴더, 컴포넌트가 아닌 파일 ⇒ 카멜케이스로 작성 ex) customHook
컴포넌트 ⇒ 파스칼 케이스로 작성
파스칼 케이스로 작성할 것
✅
const MyComponent = () => {
...
}
파스칼 케이스로 용도에 맞는 이름
❌
interface Props {
tip: string
}
✅
interface TooltipProps {
tip: string
}
function Component() {
return (<div></div>);
}