일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 자바 공부
- useState
- react
- codesandbox
- 프로그래머스
- JavaScript
- 컴퓨터 네트워크
- 코딩테스트 고득점 Kit
- 프로그래머스 완전탐색
- 코틀린
- 데이터모델링과마이닝
- design pattern
- 장고
- 자바스크립트
- websocket
- react firebase
- react hook
- useEffect
- 프로그래밍 언어론
- 리액트 훅
- 자바
- 리액트
- 백준
- 코딩테스트 고득점 Kit 완전탐색
- 디자인 패턴
- vanillaJS
- 프로그래머스 자바
- NextJS
- React JS
- Java
- Today
- Total
목록ReactDOM (2)
기록하는 개발자

import React, { useState } from "react"; import ReactDOM from "react-dom"; import "./styles.css"; const content = [ { tab: "Romnace and Musical", content: "I think you like SingStreet, LaLaLand, The Greatest Show!" }, { tab: "Fantasy", content: "Avengers, Harry Potter, The Lord of the Rings!" } ]; const useTabs = (initialTab, tabArray) => { if (!tabArray || !Array.isArr..

react 사용에 필요한 것 - nodeJS, npm, npx, git, code editor - nodeJS 설치 시 npm이 함께 설치된다. (yarn과 npm은 동일한 역할을 수행한다.) - 원하는 code editor 사용 ex) VSCode, Sublime Text, Brackets, Atom, Vim etc.. react를 배우기 전 기본적으로 알아야 할 것 - html, css, vanillaJS 1. npx install > npm install npx -g 2. create app > npx create-react-app ex) npx create-react-app myapp 3. app 실행 > cd myapp > npm start import React from "..