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..