| <div align="center"> | |
| <p align="center"> | |
| <a href="https://react-hook-form.com" title="React Hook Form - Simple React forms validation"> | |
| <img src="https://raw.githubusercontent.com/bluebill1049/react-hook-form/master/docs/logo.png" alt="React Hook Form Logo - React hook custom hook for form validation" width="300px" /> | |
| </a> | |
| </p> | |
| </div> | |
| <p align="center">์ ์ฐํ๊ณ ํ์ฅ ๊ฐ๋ฅํ ์ฌ์ฉํ๊ธฐ ์ฌ์ด ๊ณ ์ฑ๋ฅ ํผ ๊ฒ์ฆ ๋ผ์ด๋ธ๋ฌ๋ฆฌ</p> | |
| <div align="center"> | |
| [](https://www.npmjs.com/package/react-hook-form) | |
| [](https://www.npmjs.com/package/react-hook-form) | |
| [](https://bundlephobia.com/result?p=react-hook-form) | |
| [](https://coveralls.io/github/bluebill1049/react-hook-form?branch=master) | |
| [](https://twitter.com/intent/tweet?text=React+hooks+for+form+validation+without+the+hassle&url=https://github.com/bluebill1049/react-hook-form) [](https://spectrum.chat/react-hook-form) | |
| </div> | |
| <div align="center"> | |
| <p align="center"> | |
| <a href="https://react-hook-form.com" title="React Hook Form - Simple React forms validation"> | |
| <img src="https://raw.githubusercontent.com/bluebill1049/react-hook-form/master/docs/example.gif" alt="React Hook Form video - React custom hook for form validation" width="100%" /> | |
| </a> | |
| </p> | |
| </div> | |
| <a href="./README.V6.md">English</a> | <a href="./README.zh-TW.md">็นไธญ</a> | <a href="./README.zh-CN.md">็ฎไธญ</a> | <a href="./README.ja-JP.md">ๆฅๆฌ่ช</a> | ํ๊ตญ์ด | <a href="./README.fr-FR.md">Franรงais</a> | <a href="./README.it-IT.md">Italiano</a> | <a href="./README.pt-BR.md">Portuguรชs</a> | <a href="./README.es-ES.md">Espaรฑol</a> | <a href="./README.ru-RU.md">ะ ัััะบะธะน</a> | <a href="./README.de-DE.md">Deutsch</a> | <a href="./README.tr-TR.md">Tรผrkรงe</a> | |
| ## ํน์ง | |
| - ์ฑ๋ฅ๊ณผ DX๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ | |
| - ์ ์ด๋์ง ์๋ ์์ ๊ฒ์ฆ | |
| - ์ ์ด ๋ ์์์ ์ฑ๋ฅ์ ํฅ์์ํต๋๋ค | |
| - ์์กด์ฑ ์๋ [์์ ์ฉ๋](https://bundlephobia.com/result?p=react-hook-form@latest) | |
| - HTML ํ์ค์ ๋ฐ๋ฅด๋ ๊ฒ์ฆ | |
| - React Native ์ ํธํ | |
| - [Yup](https://github.com/jquense/yup), [Joi](https://github.com/hapijs/joi), [Superstruct](https://github.com/ianstormtaylor/superstruct) ๋๋ custom ์ง์ | |
| - ๋ธ๋ผ์ฐ์ ๋ค์ดํฐ๋ธ ๊ฒ์ฆ ์ง์ | |
| - [Form Builder](https://react-hook-form.com/form-builder)๋ก ํผ ๋น ๋ฅด๊ฒ ์์ฑ | |
| ## ์ค์น | |
| $ npm install react-hook-form | |
| ## ๋งํฌ | |
| - [๋ง๋ค๊ฒ๋ ๋๊ธฐ](https://medium.com/@bruce1049/form-validation-with-hook-in-3kb-c5414edf7d64) | |
| - [๋น๋์ค ํํ ๋ฆฌ์ผ](https://www.youtube.com/watch?v=-mFXqOaqgZk&t) | |
| - [์์ํ๊ธฐ](https://react-hook-form.com/get-started) | |
| - [API](https://react-hook-form.com/docs) | |
| - [์์ ](https://github.com/bluebill1049/react-hook-form/tree/master/examples) | |
| - [๋ฐ๋ชจ](https://react-hook-form.com) | |
| - [Form Builder](https://react-hook-form.com/form-builder) | |
| - [FAQs](https://react-hook-form.com/faqs) | |
| ## ์์ํ๊ธฐ | |
| ```jsx | |
| import React from 'react'; | |
| import { useForm } from 'react-hook-form'; | |
| function App() { | |
| const { register, handleSubmit, errors } = useForm(); // initialise the hook | |
| const onSubmit = (data) => { | |
| console.log(data); | |
| }; | |
| return ( | |
| <form onSubmit={handleSubmit(onSubmit)}> | |
| <input name="firstname" ref={register} /> {/* register an input */} | |
| <input name="lastname" ref={register({ required: true })} /> | |
| {errors.lastname && 'Last name is required.'} | |
| <input name="age" ref={register({ pattern: /\d+/ })} /> | |
| {errors.age && 'Please enter number for age.'} | |
| <input type="submit" /> | |
| </form> | |
| ); | |
| } | |
| ``` | |
| ## ๊ธฐ์ฌ์ | |
| ๋ชจ๋ ๊ธฐ์ฌ์ ๋ถ๋ค๊ป ๊ฐ์ฌํฉ๋๋ค! [[๊ธฐ์ฌํ๊ธฐ](../CONTRIBUTING.md)] | |
| <a href="https://github.com/react-hook-form/react-hook-form/graphs/contributors"> | |
| <img src="https://opencollective.com/react-hook-form/contributors.svg?width=950" /> | |
| </a> | |
| ## ์กฐ์ง | |
| ์ด ํ๋ฅญํ ์กฐ์ง์ ๊ฐ์ฌ๋๋ฆฝ๋๋ค! [[๊ธฐ์ฆํ๋ค](https://opencollective.com/react-hook-form/contribute)] | |
| <a href="https://github.com/react-hook-form/react-hook-form/graphs/contributors"> | |
| <img src="https://opencollective.com/react-hook-form/organizations.svg?width=950" /> | |
| </a> | |
| ## ํ์์ | |
| ๋ชจ๋ ํ์์ ๋ถ๋ค๊ป ๊ฐ์ฌํฉ๋๋ค! [[ํ์ํ๊ธฐ](https://opencollective.com/react-hook-form#backer)] | |
| <a href="https://opencollective.com/react-hook-form#backers"> | |
| <img src="https://opencollective.com/react-hook-form/backers.svg?width=950" /> | |
| </a> | |