3.1 All you need to know about State 목표: 매번 state의 상태를 변경할 때, react가 render function을 호출해서 바꿔주길 원함 this.setState() state는 object setState는 새로운 state를 받음 setState를 호출할 시, react는 state를 refresh하고 render function을 호출 setState를 사용하지 않으면 새 state와 함께 render function이 호출되지 않음 this.setState({count: this.state.count+1}); 이렇게 할 수도 있지만 state에 의존하는 것은 좋지 않음 this.setState(current=>({count: current.count+1}))..