• 카테고리

    질문 & 답변
  • 세부 분야

    프론트엔드

  • 해결 여부

    미해결

function 스타일 질문

20.02.26 19:47 작성 조회수 197

0

안녕하세요 강의 아주 잘 들었습니다!

질문이 있는데요 

function style에서는 componentWillMount나 componentWillUpdate에 해당하는 api는 없는건가요??

답변 1

답변을 작성해보세요.

0

jimdac님의 프로필

jimdac

2020.07.10

function style에서는 useEffect() 함수가 componentWillMount componentDidUpdate componentWillUnmount 를 대신하고있습니다.