React Hook Form Logo - React einstellbare Hook für Formulareingabeprüfung

Schnellladende, flexible und erweiterbare Formulare mit benutzerfreundlicher Eingabeprüfung

[![npm downloads](https://img.shields.io/npm/dm/react-hook-form.svg?style=for-the-badge)](https://www.npmjs.com/package/react-hook-form) [![npm](https://img.shields.io/npm/dt/react-hook-form.svg?style=for-the-badge)](https://www.npmjs.com/package/react-hook-form) [![npm](https://img.shields.io/bundlephobia/minzip/react-hook-form?style=for-the-badge)](https://bundlephobia.com/result?p=react-hook-form) [![Coverage Status](https://img.shields.io/coveralls/github/bluebill1049/react-hook-form/master?style=for-the-badge)](https://coveralls.io/github/bluebill1049/react-hook-form?branch=master) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=React+hooks+for+form+validation+without+the+hassle&url=https://github.com/bluebill1049/react-hook-form) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/react-hook-form)

React Hook Form video - React einstellbare Hook für Formulareingabeprüfung

English | 繁中 | 简中 | 日本語 | 한국어 | Français | Italiano | Português | Español | Русский | Deutsch | Türkçe ## Eigenschaften - Mit Hinblick auf Leistung und Entwicklererfahrung geschrieben - Akzeptiert unkontrollierter Eingabeprüfung - Einfache integration mit [Benutzeroberflaechen Bibliotheken](https://codesandbox.io/s/react-hook-form-controller-079xx) - [Wenig Speicherbedarf](https://bundlephobia.com/result?p=react-hook-form@latest) ohne Abhnägigkeiten - Entspricht HTML Standart für [Eingabeprüfung](https://react-hook-form.com/get-started#Applyvalidation) - Kompatibel mit React Native - Unterstützt [Yup](https://github.com/jquense/yup), [Joi](https://github.com/hapijs/joi), [Superstruct](https://github.com/ianstormtaylor/superstruct) or frei programierbar - Erstelle Formulare schnell mit dem [Formular Erseller](https://react-hook-form.com/form-builder) ## Installation npm install react-hook-form ## Weitere Information - [Motivation](https://medium.com/@bruce1049/form-validation-with-hook-in-3kb-c5414edf7d64) - [Video Lehrgang](https://www.youtube.com/watch?v=-mFXqOaqgZk&t) - [Anfangen](https://react-hook-form.com/get-started) - [API](https://react-hook-form.com/docs) - [Beispiele](https://github.com/bluebill1049/react-hook-form/tree/master/examples) - [Demonstration](https://react-hook-form.com) - [Formular Ersteller](https://react-hook-form.com/form-builder) - [Häufige Fragen](https://react-hook-form.com/faqs) ## Schneller Einstieg ```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 (
{/* register an input */} {errors.lastname && 'Last name is required.'} {errors.age && 'Please enter number for age.'}
); } ``` ## Sponsoren Möchten sie Ihr Logo hier? [Direktnachricht mit Twitter](https://twitter.com/HookForm) ## Unterstützer Vielen Dank an alle unsere Unterstützer! [[Werde auch ein Unterstützer](https://opencollective.com/react-hook-form#backer)]. ## Organisationen Unser Dank geht auch an folgende wundervolle Organisationen! [[Spenden](https://opencollective.com/react-hook-form/contribute)]. ## Kontributoren Unser Dank geht auch an folgende wundervolle Personen! [[Werde auch ein Kontributor](../CONTRIBUTING.md)].