일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Route53
- react-sortable-hoc
- domtoimage
- gitignore
- react
- 프로그래머스
- TypeScript
- electron-builder
- AWS
- react-admin
- axios
- yml
- react-xml-parser
- electron
- react-hook-form
- icrawler
- JavaScript
- react DOM
- readableStream
- window.postMessage
- jimp
- zerocho
- signIn
- timeinput
- node
- 가상 DOM
- API Gateway
- xlsx
- cognito
- dynamodb
Archives
- Today
- Total
목록react-hook-form (1)
꾸준히 공부하는 개발자
[React] react-hook-form 사용기
SignUp.js import React, {useState} from 'react' import {useDispatch} from "react-redux" import {useForm} from "react-hook-form" import {signUp} from "../../actions/users" const SignUp = () => { const {register, handleSubmit, errors} = useForm() const handleLogin = async values => { console.log(values) try{ await dispatch(signUp(values)) alert('회원가입이 완료되었습니다..') history.push('/') }catch(err){ ale..
React
2020. 3. 17. 22:10