| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- API
- 함수
- 변수
- JS
- dev
- CSS
- 햇소
- ChatGPT
- ES6+
- gitCLI
- 선택자
- AI
- es6
- array
- DOM
- github
- 최적화
- next.js
- git
- JavaScript
- hatso
- html5
- hooks
- This
- Python
- object
- learn next.js
- 우아한테코톡
- react
- ES5+
Archives
- Today
- Total
목록Dispatch (1)
codinghatso
전체적인 틀 AttendanceBook.js import React, { useState, useReducer } from "react"; const reducer = (state, action) => { } const initialState = { } function AttendanceBook(){ const [name, setName] = useState(""); const [] = useReducer(reducer, ); return ( 추가 ) } export default AttendanceBook; 구현 import React, { useState, useReducer } from "react"; import Student from "../components/Student"; //reducer..
WEB/React
2023. 11. 30. 13:01