From 5b35be77990927eeb798649d82c6d9d4cf7e848f Mon Sep 17 00:00:00 2001 From: Doyun_hwang <77888901+materokatti@users.noreply.github.com> Date: Mon, 15 Jan 2024 11:53:42 +0900 Subject: [PATCH] Translate : react dom hooks (#902) * docs : translate Intro of React DOM Hooks * docs : translate Canary * docs : translate descriptions for useFormStatus, useFormState * Minor edits --------- Co-authored-by: Rainer Martinez --- src/content/reference/react-dom/hooks/index.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/content/reference/react-dom/hooks/index.md b/src/content/reference/react-dom/hooks/index.md index 937de808c..f4fecb53e 100644 --- a/src/content/reference/react-dom/hooks/index.md +++ b/src/content/reference/react-dom/hooks/index.md @@ -1,27 +1,27 @@ --- -title: "Built-in React DOM Hooks" +title: "Hooks integrados de React DOM" --- -The `react-dom` package contains Hooks that are only supported for web applications (which run in the browser DOM environment). These Hooks are not supported in non-browser environments like iOS, Android, or Windows applications. If you are looking for Hooks that are supported in web browsers *and other environments* see [the React Hooks page](/reference/react). This page lists all the Hooks in the `react-dom` package. +El paquete de `react-dom` contiene Hooks que solo se admiten para aplicaciones web (que se ejecutan en el entorno DOM del navegador). Estos Hooks no son compatibles en entornos que no son de navegador, como en aplicaciones de iOS, Android o Windows. Si estás buscando Hooks que sean compatibles en navegadores web *y otros entornos*, consulta [la página de Hooks de React](/reference/react). Esta página enumera todos los Hooks en el paquete `react-dom`. --- -## Form Hooks {/*form-hooks*/} +## Hooks de Formularios {/*form-hooks*/} -Form Hooks are currently only available in React's canary and experimental channels. Learn more about [React's release channels here](/community/versioning-policy#all-release-channels). +Los Hooks de Formularios actualmente solo están disponibles en React Canary y canales experimentales. Aprende más sobre los [canales de lanzamiento de React aquí](/community/versioning-policy#all-release-channels). -*Forms* let you create interactive controls for submitting information. To manage forms in your components, use one of these Hooks: +Los formularios (*forms*) te permiten crear controles interactivos para enviar información. Para manejar formularios en tus componentes, usa uno de estos Hooks: -* [`useFormStatus`](/reference/react-dom/hooks/useFormStatus) allows you to make updates to the UI based on the status of the a form. -* [`useFormState`](/reference/react-dom/hooks/useFormState) allows you to manage state inside a form. +* [`useFormStatus`](/reference/react-dom/hooks/useFormStatus) facilita la actualización de la interfaz de usuario basada en el estado del formulario. +* [`useFormState`](/reference/react-dom/hooks/useFormState) te permite gestionar el estado dentro de un formulario. ```js function Form({ action }) {