React 컴포넌트에서 서버 API를 호출하려면 어디서 해야 하나요? constructor에서 하면 되나요, 아니면 render에서? componentDidMount라는 것도 있던데 정확한 위치가 궁금합니다.
댓글 0