Journey to Dev
  • 홈
  • 프로젝트
  • 알고리즘
  • 독학
  • 웹개발과정
  • 기타
    • 분류 전체보기
      • Self-Study
        • Spring
        • Javascript
        • React
        • Vue
        • Electron
        • DJango
        • 계란으로 바위치기
        • 기타
      • Algorithm
        • Programmers
        • Baekjoon
      • Project
        • JSP(Servlet)
        • Spring
        • Tensorflow
        • React
      • WebDev
        • 본과정
        • 예비과정
      • ETC
        • 개발 회고록
        • 기술면접
  • 글작성
  • 방명록
  • 환경설정
  • 메뉴 닫기
Props 검색 결과
1 개의 검색 결과가 있습니다.
Self-Study/React

[React] props

1. 정의 프로퍼티(properties)의 약자로 인자를 뜻하며, 리액트에서는 상위 컴포넌트에서 하위 컴포넌트로 읽기 형태의 값을 전달할 때 쓰인다. 2. 사용 props의 사용방법은 다음과 같다. import React, { useState } from 'react'; import Child from './child'; function App() { const [typeA, setTypeA] = useState(""); ... return ( {/* 자식 컴포넌트에게 props를 전달한다 */} {/* state를 통한 값을 자바스크립트의 형태로도 전달할 수 있다 */} ); } export default App; import React from 'react'; function Child(props) ..

2022. 4. 17. 15:48
  • «
  • 1
  • »

전체 카테고리

  • 분류 전체보기
    • Self-Study
      • Spring
      • Javascript
      • React
      • Vue
      • Electron
      • DJango
      • 계란으로 바위치기
      • 기타
    • Algorithm
      • Programmers
      • Baekjoon
    • Project
      • JSP(Servlet)
      • Spring
      • Tensorflow
      • React
    • WebDev
      • 본과정
      • 예비과정
    • ETC
      • 개발 회고록
      • 기술면접
  • 최근 글
  • 최근 댓글

최근 글

최근댓글

태그

  • #Spring
  • #ubuntu
  • #Framework
  • #React
  • #clone
  • #Spring Security
  • #Session
  • #python
  • #kibana
  • #MVCPattern
  • #JavaScript
  • #git
  • #mybatis
  • #logstash
  • #View
  • #sort
  • #Model
  • #nextjs
  • #java
  • #MVT
  • #jsp
  • #electron
  • #Vue
  • #springboot
  • #ElasticSearch
  • #commit
  • #template
  • #리액트
  • #Django
  • #controller
더보기+

전체 방문자

오늘
어제
전체

블로그 인기글

Powered by Privatenote Copyright © Journey to Dev All rights reserved. TistoryWhaleSkin3.4

티스토리툴바