CoxeMonkey
close
프로필 사진

CoxeMonkey

github: @GangOn0215

  • 분류 전체보기 (120)
    • 지나온 흔적 (8)
    • 알면 좋은 지식들 (4)
    • WEB (1)
    • CS (1)
      • Database (1)
    • Document (4)
      • Excel (4)
    • Mobile (18)
      • Flutter (18)
      • Dart (0)
    • FrontEnd (19)
      • HTML (0)
      • CSS (0)
      • JavaScript (8)
      • React (11)
    • BackEnd (14)
      • Node.js (7)
      • PHP (1)
      • Database (1)
      • Server (1)
      • Spring (3)
    • Project (8)
    • TIL (Dev) (32)
      • 2025년 (3)
      • 2022년 (27)
    • Diary (6)
    • Bug Report (3)
      • PHP (0)
  • 홈
  • 태그
  • 방명록

React - Props

보통 처음에 state를 배우고 나면 props 개념을 배우게 됩니다. props는 보통 상단 componet에서 하단 component에게 이름을 붙여 값을 전달하는 방식이며 여러 데이터를 넘길수 있습니다. Props를 사용하는 이유는 상단 컴포넌트에서 하단 컴포넌트에게 데이터를 이동시켜주기 위함입니다. App.js import React from "react"; import MyHeader from "./components/MyHeader"; import Counter from "./components/Counter"; function App() { return ( ); } export default App; Counter.js import React, { useState } from "react";..

  • format_list_bulleted FrontEnd/React
  • · 2022. 3. 23.
  • navigate_before
  • 1
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (120)
    • 지나온 흔적 (8)
    • 알면 좋은 지식들 (4)
    • WEB (1)
    • CS (1)
      • Database (1)
    • Document (4)
      • Excel (4)
    • Mobile (18)
      • Flutter (18)
      • Dart (0)
    • FrontEnd (19)
      • HTML (0)
      • CSS (0)
      • JavaScript (8)
      • React (11)
    • BackEnd (14)
      • Node.js (7)
      • PHP (1)
      • Database (1)
      • Server (1)
      • Spring (3)
    • Project (8)
    • TIL (Dev) (32)
      • 2025년 (3)
      • 2022년 (27)
    • Diary (6)
    • Bug Report (3)
      • PHP (0)
인기 글
전체 방문자
오늘
어제
Copyright © CoxeMonkey 모든 권리 보유.
SKIN: Copyright © 쭈미로운 생활 All rights reserved. Designed by JJuum.
and Current skin "dev-roo" is modified by Jin.

티스토리툴바