개발블로그

  • 홈
  • 태그
  • 방명록

lifestyle 1

[react] state + component life style

state란? component에서 변하는 데이터를 저장하는 Object( 바꿀수 있는 데이터 ) import React from "react" import PropTypes from "prop-types" /* class는 function이 아니기 때문에 return 값이 존재하지 않음 대신 React.Component가 포함하고 있는 render 사용 */ class App extends React.Component { //react는 자동적으로 모든 class의 render를 실행한다. //component가 render 되기 전에 호출되는 함수 : Mounting -> constructor() //component가 render 된 후 호출되는 함수 : Mounting -> componentDid..

React 2021.09.02
이전
1
다음
더보기
프로필사진

개발블로그

개발자 박응디 cjdrud123@naver.com

  • 분류 전체보기 (126)
    • JAVA (81)
    • Python & Django (6)
    • Server(설정 등) (5)
    • DB (2)
    • Git (4)
    • Swift (7)
    • React (6)
    • AWS (2)
    • CT (5)
    • 참고사항 (8)

Tag

testcode, IP, APP, 설정, java, entity, TDD, IOS, code, swift, Spring, React, DB, python, 개발자, mapping, JPA, 개발, test, query,

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Copyright © Kakao Corp. All rights reserved.

티스토리툴바