-
[9]React에서 Prop은 무엇인가?dev/Web 2021. 4. 12. 19:02
Prop은 Properties를 준인 표현으로 컴포넌트의 속성을 설정할 때 사용하는 요소이다.
props 값은 해당 컴포넌트를 불러와서 사용하는 부모 컴포넌트에서 설정할 수 있다.
'dev > Web' 카테고리의 다른 글
[11]State를 직접적으로 업데이트 하면 안되는 이유 (0) 2021.04.12 [10]State와 Props의 차이 (0) 2021.04.12 [8]React에서 state는 무엇인가? (0) 2021.04.12 [7]Pure Component가 뭔가? (0) 2021.04.12 [6]Class Component를 사용하는 이유 (0) 2021.04.12