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