Theseung DEV LOG

고정 헤더 영역

글 제목

메뉴 레이어

Theseung DEV LOG

메뉴 리스트

  • 홈
  • 태그
  • 방명록
  • 분류 전체보기 (11)
    • React (1)
    • 추천 Program (1)
    • React Native (2)
    • (단순히) 학교 수업 (0)
    • JAVA Spring (4)

검색 레이어

Theseung DEV LOG

검색 영역

컨텐츠 검색

생명주기

  • [React] 컴포넌트 생명주기 (Lifecyle) 함수

    2020.12.16 by theseung

[React] 컴포넌트 생명주기 (Lifecyle) 함수

컴포넌트 생성 constructor getDerviedStateFromProp render (이 함수 실행 후 웹 문서에 출력) componentDidMount 생성 완료 후 props가 변경되거나 setState가 호출되는 경우 getDerviedStateFromProp shouldComponentUpdate render getSnapshotBeforeUpdate 실제 DOM에 반영 componentDidUpdate 생성 완료 후 forceUpdate가 호출되는 경우 getDerviedStateFromProp render getSnapshotBeforeUpdate 실제 DOM에 반영 componentDidUpdate 컴포넌트가 사라질 때 componentWillUnmount 실제 DOM 반영 함수별 특..

React 2020. 12. 16. 23:39

페이징

이전
1
다음
TISTORY
Theseung DEV LOG © Magazine Lab

E-mail : pzx5219@daum.net

페이스북 트위터 인스타그램 유투브 메일

티스토리툴바

이