Class component(클래스형 컴포넌트)

Class Component를 이용해 만들어낸 컴포넌트는 말그대로 하나의 객체처럼 동작합니다.

Class Component에선 this를 통해 자기 자신을 칭하고, 무언가 변화가 생기면 render()메서드를 다시 호출해 리렌더링을 진행하는 방식을 사용합니다. 이런 구조에서 메서드의 결과물은 상태의 영향을 받게 됩니다.

This line appears after every note.

Notes mentioning this note


Here are all the notes in this garden, along with their links, visualized as a graph.