나다김강니

  • 홈
  • 태그
  • 방명록

props 1

[ React ] props

Props💡 props props는 propertied의 줄임말이다. 어떠한 값을 컴포넌트에게 전달해줘야 할 때, props를 사용한다.propsMessage 함수형 컴포넌트를 호출하면서 { value: "안녕하세요", color: "blue" } 형태의 props 값 객체를 Message 함수에 전달한다.//Message 함수 컴포넌트는 props 값 객체를 파라미터로 받는다.export type MessageProps = {    value: string,    color: string}function Message(props: MessageProps) {  return ...}"key" prop 태그나 어떤 태그가 반복된 목록의 경우, 그 목록 태그에 "key" prop가 있어야 한다.그리고 ..

[ Naver Cloud Camp ] 2024.06.02
이전
1
다음
더보기
프로필사진

나다김강니

험나난세상속에뛰어든건나니까암오케....

  • 분류 전체보기 (99)
    • [ Naver Cloud Camp ] (8)
    • [ STUDY ] (87)
      • Spring Boot (10)
      • Linux (9)
      • CodingTest (38)
      • CS (20)
      • 끄적끄적.. (8)
      • 디자인 패턴 (2)
      • JavaScript (0)
    • [ PROJECT ] (3)
      • PetHarmony (3)

Tag

Spring Security, CodeUp, VMware Fusion, HTTP, linux, spring boot, BFS, React, 티스토리챌린지, 모두의 리눅스, Redux, 우선순위 큐, 백준, 오블완, redux-persist, dfs, 다익스트라, Troubleshooting, JWT, dp,

최근글과 인기글

  • 최근글
  • 인기글

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바