본문 바로가기 메뉴 바로가기

여기저기 이것저것

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

여기저기 이것저것

검색하기 폼
  • 분류 전체보기 (214)
    • 📝일기장 (2)
    • 🐕🦵개발 (43)
      • ⬅️frontend (14)
      • ➡️backend (4)
      • 🤖devops (10)
      • 💾DB (0)
      • 🎸기타 (14)
    • 📈주식📉 (91)
      • 일일공부 (8)
      • 조건식 (1)
      • 매매일지 (2)
      • 주식_오답노트 (2)
      • 급등주식차트메모 (20)
      • 일일정리 (5)
      • 시스템트레이딩 (31)
      • 기사 및 지식 (22)
    • 잡지식 (1)
    • 수필 (1)
    • 컴퓨타 (24)
      • 연습공부 (7)
    • 로또 (28)
      • 분석 (8)
      • 예상 (8)
    • 건강 (6)
    • 기타 (6)
  • 방명록

shouldComponentUpdate (1)
[react] 생명주기

react의 생명주기란 component의 생성, 변경, 소멸 과정을 뜻한다. 생성 render(), constructor(), getDerivedStateFormProps(), componentDidMount() 변경 shouldComponentUpdate() import React,{Component} from "react"; class ComponentTest extends Component{ /* 1. 첫번째로 실행됨. 최초 1회. */ constructor(props){ super(props); this.state={}; console.log("1. constructor log"); } /* 2. 두번째로 실행 됨. */ static getDerivedStateFromProps(props,sta..

🐕🦵개발/⬅️frontend 2022. 5. 5. 23:52
이전 1 다음
이전 다음
최근에 올라온 글
반응형

Blog is powered by Tistory / Designed by Tistory

티스토리툴바