mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 12:13:11 +00:00
Add a link to Formik (#1197)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user