SMILE SUNGLASSES

SMILE SUNGLASSES

  • 분류 전체보기 (10)
    • Study (10)
      • ERP (2)
      • AI (3)
      • 코테 준비 (1)
      • React (4)
      • Git hub (0)
      • spring (0)
    • Project (0)
  • 홈
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

SMILE SUNGLASSES

컨텐츠 검색

태그

버블정렬 코테 네이버부스트코스 conditional 클래스형 컴포넌트 useState useCallback 부스트캠프 함수형 컴포넌트 bill of materials lifecycle React reactnative #android #emulator #expo 네이버부스트캠프 material master dict ERP props useEffect 1377번

최근글

댓글

공지사항

아카이브

lifecycle(1)

  • Chapter 4-2 LifeCycle

    공부한 내용을 기록 및 정리를 위한 글로 더 정확하고 많은 정보를 원하시면 맨 아래 링크를 참고해주세요. 1. 컴포넌트가 로딩되기 시작하는 Mount(생성)constructorclass ClassComponent extends Component { state = { value: 0 }; constructor(props) { console.log("[class] constructor"); super(props); this.state = { value: 0 }; }constructor는 클래스 생성자로 state의 초기 상태를 지정해줍니다.위 형태와 같이 super(props)를 해주어야 합니다.super(props)를 호출하지 않으면 this를 사용할 수 없고, this.state나 ..

    2025.03.03
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바