일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- gitignore
- react DOM
- Route53
- yml
- react-sortable-hoc
- AWS
- axios
- jimp
- 프로그래머스
- electron
- react-xml-parser
- API Gateway
- react-hook-form
- domtoimage
- timeinput
- signIn
- readableStream
- window.postMessage
- icrawler
- JavaScript
- zerocho
- 가상 DOM
- react
- dynamodb
- react-admin
- TypeScript
- cognito
- xlsx
- electron-builder
- node
Archives
- Today
- Total
목록react-hook-form (1)
꾸준히 공부하는 개발자

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