Create Signup Form with Validation | React-Hook-Form & Yup
Описание
Create signup form with material ui and integrate with react-hook-form, we also learn how to add validation with yup.
??Code:
https://github.com/candraKriswinarto/signup-with-react-hook-form
?Link:
- Vite - https://vitejs.dev/guide/#scaffolding-your-first-vite-project
- Material UI - https://mui.com/material-ui/react-checkbox/
- React-Hook-Form - https://react-hook-form.com/get-started/#SchemaValidation
- API - https://restcountries.com/#api-endpoints-v3-all
- Regex - https://gist.github.com/candraKriswinarto/b397cf5c503e6f7969b5784a2840293c
Timestamps:
0:00 - Intro
00:07 - Demo
02:19 - Setup react app with Vite
05:10 - Install & setup Material UI
06:33 - RegisterForm Component
11:28 - TextFields Component
14:58 - How to add Adornment into TextField
17:28 - SelectFields Component
21:35 - CheckboxFields Component
23:25 - Button Component
24:25 - Install & Setup react-hook-form
26:40 - How to integrate material ui with react-hook-form
40:08 - How to add validation with yup
45:46 - How to show error message
54:50 - Done
??Contact Me:
https://canddev.vercel.app/
? Find Me Here:
Instagram : https://www.instagram.com/candra_kriswinarto/
GitHub: https://github.com/candraKriswinarto/
Linkedin: https://www.linkedin.com/in/candra-kriswinarto/
#react #programming #enjoycoding
Рекомендуемые видео


















