일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- react-hook-form
- zerocho
- icrawler
- domtoimage
- TypeScript
- JavaScript
- 가상 DOM
- Route53
- react
- jimp
- react-sortable-hoc
- axios
- signIn
- gitignore
- electron-builder
- window.postMessage
- API Gateway
- 프로그래머스
- dynamodb
- react-xml-parser
- xlsx
- react-admin
- cognito
- react DOM
- readableStream
- yml
- timeinput
- node
- AWS
- electron
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