From 0276f2cd75ffd8e28d45d324d1243ad73ff75d2e Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Tue, 25 Sep 2018 00:37:20 +0100 Subject: [PATCH] Add a link to Formik (#1197) --- content/docs/forms.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/docs/forms.md b/content/docs/forms.md index 54dce709..fee7f2bc 100644 --- a/content/docs/forms.md +++ b/content/docs/forms.md @@ -292,3 +292,7 @@ setTimeout(function() { ## Alternatives to Controlled Components It can sometimes be tedious to use controlled components, because you need to write an event handler for every way your data can change and pipe all of the input state through a React component. This can become particularly annoying when you are converting a preexisting codebase to React, or integrating a React application with a non-React library. In these situations, you might want to check out [uncontrolled components](/docs/uncontrolled-components.html), an alternative technique for implementing input forms. + +## Fully-Fledged Solutions + +If you're looking for a complete solution including validation, keeping track of the visited fields, and handling form submission, [Formik](https://jaredpalmer.com/formik) is one of the popular choices. However, it is built on the same principles of controlled components and managing state — so don't neglect to learn them.