일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- developerlife
- ES6+
- 최적화
- AI
- react
- array
- JS
- API
- 햇소
- 우아한테코톡
- es6
- CSS
- git
- 변수
- Python
- gitCLI
- next.js
- 함수
- This
- html5
- object
- 선택자
- learn next.js
- hatso
- JavaScript
- ES5+
- DOM
- hooks
- github
- dev
Archives
- Today
- Total
목록react.js (1)
codinghatso
useReducer - React Hooks
전체적인 틀 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