From d3ec320357b564eb5cdaecb398780475fb802563 Mon Sep 17 00:00:00 2001 From: Francisco Imanol Suarez Date: Tue, 17 Nov 2020 14:34:40 -0300 Subject: [PATCH 1/8] No hay nuevas funciones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comienzo de traducción del documento --- content/blog/2020-10-20-react-v17.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/content/blog/2020-10-20-react-v17.md b/content/blog/2020-10-20-react-v17.md index d001a56ee..1d6146ff8 100644 --- a/content/blog/2020-10-20-react-v17.md +++ b/content/blog/2020-10-20-react-v17.md @@ -2,16 +2,15 @@ title: "React v17.0" author: [gaearon,rachelnabors] --- +¡Hoy lanzamos React 17! Hemos escrito extensamente sobre el papel de la versión React 17 y los cambios que contiene en [the React 17 RC blog post](/blog/2020/08/10/react-v17-rc.html).Esta publicación es un breve resumen de la misma, por lo que si ya ha leído la publicación de RC, puede omitir esta. -Today, we are releasing React 17! We've written at length about the role of the React 17 release and the changes it contains in [the React 17 RC blog post](/blog/2020/08/10/react-v17-rc.html). This post is a brief summary of it, so if you've already read the RC post, you can skip this one. +## No hay nuevas funciones -## No New Features +La versión de React 17 es inusual porque no agrega ninguna característica nueva para desarrolladores. En cambio, esta versión se centra principalmente en **facilitar la actualización de React**. -The React 17 release is unusual because it doesn't add any new developer-facing features. Instead, this release is primarily focused on **making it easier to upgrade React itself**. +En particular, React 17 es una versión "trampolín" la cual hace que sea más seguro incrustar un árbol administrado por una versión de React dentro de un árbol administrado por una versión diferente de React. -In particular, React 17 is a “stepping stone” release that makes it safer to embed a tree managed by one version of React inside a tree managed by a different version of React. - -It also makes it easier to embed React into apps built with other technologies. +También facilita la integración de React en aplicaciones creadas con otras tecnologías. ## Gradual Upgrades From c8c22bd47b334899873c42e8e18d8ec931da7ef9 Mon Sep 17 00:00:00 2001 From: Francisco Imanol Suarez Date: Tue, 17 Nov 2020 15:05:05 -0300 Subject: [PATCH 2/8] Actualizaciones graduales --- content/blog/2020-10-20-react-v17.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/content/blog/2020-10-20-react-v17.md b/content/blog/2020-10-20-react-v17.md index 1d6146ff8..0ecabd96f 100644 --- a/content/blog/2020-10-20-react-v17.md +++ b/content/blog/2020-10-20-react-v17.md @@ -12,19 +12,20 @@ En particular, React 17 es una versión "trampolín" la cual hace que sea más s También facilita la integración de React en aplicaciones creadas con otras tecnologías. -## Gradual Upgrades +## Actualizaciones graduales -**React 17 enables gradual React upgrades.** When you upgrade from React 15 to 16 (or, this time, from React 16 to 17), you would usually upgrade your whole app at once. This works well for many apps. But it can get increasingly challenging if the codebase was written more than a few years ago and isn’t actively maintained. And while it’s possible to use two versions of React on the page, until React 17 this has been fragile and caused problems with events. +**React 17 permite actualizaciones graduales de React.** Cuando actualiza de React 15 a 16 (o, en este caso, de React 16 a 17), generalmente actualizaría toda su aplicación a la vez. Esto funciona bien para muchas aplicaciones. Pero puede resultar cada vez más complicado si el código base se escribió hace unos años y no se mantiene de forma activa. Y aunque es posible usar dos versiones de React en la página, hasta React 17 esto ha sido frágil y ha causado problemas con los eventos. -We’re fixing many of those problems with React 17. This means that **when React 18 and the next future versions come out, you will now have more options**. The first option will be to upgrade your whole app at once, like you might have done before. But you will also have an option to upgrade your app piece by piece. For example, you might decide to migrate most of your app to React 18, but keep some lazy-loaded dialog or a subroute on React 17. +Estamos solucionando muchos de esos problemas con React 17. Esto significa que **cuando React 18 y las próximas versiones futuras salgan, ahora tendrás más opciones**. La primera opción será actualizar toda la aplicación de una vez, como podría haber hecho antes. Pero también tendrá la opción de actualizar su aplicación pieza por pieza. Por ejemplo, puede decidir migrar la mayor parte de su aplicación a React 18, pero mantener un cuadro de diálogo de carga diferida o una subruta en React 17. -This doesn't mean you *have to* do gradual upgrades. **For most apps, upgrading all at once is still the best solution.** Loading two versions of React -- even if one of them is loaded lazily on demand -- is still not ideal. However, for larger apps that aren't actively maintained, this option makes sense to consider, and React 17 lets those apps not get left behind. +Esto no significa que usted *tenga que* hacer actualizaciones graduales. **Para la mayoría de las aplicaciones, actualizar todas a la vez sigue siendo la mejor solución.** Cargar dos versiones de React, incluso si una de ellas se carga de forma perezosa a pedido, todavía no es lo ideal.Sin embargo, para las aplicaciones más grandes que no se mantienen de forma activa, esta opción tiene sentido y React 17 permite que esas aplicaciones no se queden atrás. -We've prepared an [example repository](https://github.com/reactjs/react-gradual-upgrade-demo/) demonstrating how to lazy-load an older version of React if necessary. This demo uses Create React App, but it should be possible to follow a similar approach with any other tool. We welcome demos using other tooling as pull requests. ->Note +Nosotros hemos preparado un [repositorio de ejemplo](https://github.com/reactjs/react-gradual-upgrade-demo/) demostrando cómo cargar de forma diferida una versión anterior de React si es necesario. Esta demostración utiliza Create React App, pero debería ser posible seguir un enfoque similar con cualquier otra herramienta. Damos la bienvenida a demostraciones de otras herramientas mediante un Pull Request. + +>Nota > ->We've **postponed other changes** until after React 17. The goal of this release is to enable gradual upgrades. If upgrading to React 17 were too difficult, it would defeat its purpose. +>** Hemos pospuesto otros cambios ** hasta después de React 17. El objetivo de esta versión es permitir actualizaciones graduales. Si actualizar a React 17 fuera demasiado difícil, frustraría su propósito. ## Changes to Event Delegation From dc1a11dc351fe73c0645baa64e94a9caa60344be Mon Sep 17 00:00:00 2001 From: Francisco Imanol Suarez Date: Tue, 17 Nov 2020 15:31:42 -0300 Subject: [PATCH 3/8] Update 2020-10-20-react-v17.md --- content/blog/2020-10-20-react-v17.md | 51 ++++++++++++++-------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/content/blog/2020-10-20-react-v17.md b/content/blog/2020-10-20-react-v17.md index 0ecabd96f..20297a0f2 100644 --- a/content/blog/2020-10-20-react-v17.md +++ b/content/blog/2020-10-20-react-v17.md @@ -25,73 +25,74 @@ Nosotros hemos preparado un [repositorio de ejemplo](https://github.com/reactjs/ >Nota > ->** Hemos pospuesto otros cambios ** hasta después de React 17. El objetivo de esta versión es permitir actualizaciones graduales. Si actualizar a React 17 fuera demasiado difícil, frustraría su propósito. +>**Hemos pospuesto otros cambios** hasta después de React 17. El objetivo de esta versión es permitir actualizaciones graduales. Si actualizar a React 17 fuera demasiado difícil, frustraría su propósito. -## Changes to Event Delegation +## Cambios en la delegación de eventos -To enable gradual updates, we've needed to make some changes to the React event system. React 17 is a major release because these changes are potentially breaking. You can check out our [versioning FAQ](/docs/faq-versioning.html#breaking-changes) to learn more about our commitment to stability. +Para habilitar las actualizaciones graduales, necesitamos realizar algunos cambios en el sistema de eventos React. React 17 es una versión importante porque estos cambios potencialmente se están rompiendo. Puede consultar nuestras [preguntas frecuentes sobre versiones](/docs/faq-versioning.html#breaking-changes) para conocer más sobre nuestro compromiso con la estabilidad. -In React 17, React will no longer attach event handlers at the `document` level under the hood. Instead, it will attach them to the root DOM container into which your React tree is rendered: +En React 17, ya no se adjuntará controladores de eventos en el nivel de `document` por debajo. En su lugar, los adjuntará el contenedor DOM raíz en el que se representa su árbol de React ```js const rootNode = document.getElementById('root'); ReactDOM.render(, rootNode); ``` -In React 16 and earlier, React would do `document.addEventListener()` for most events. React 17 will call `rootNode.addEventListener()` under the hood instead. +En React 16 y anteriores, Reaccionar haría `document.addEventListener()` para la mayoría de los eventos. React 17 llamará `rootNode.addEventListener()` por debajo. -![A diagram showing how React 17 attaches events to the roots rather than to the document](../images/blog/react-v17-rc/react_17_delegation.png) +![Un diagrama que muestra cómo React 17 adjunta eventos a las raíces en lugar de al documento](../images/blog/react-v17-rc/react_17_delegation.png) -We've confirmed that [numerous](https://github.com/facebook/react/issues/7094) [problems](https://github.com/facebook/react/issues/8693) [reported](https://github.com/facebook/react/issues/12518) [over](https://github.com/facebook/react/issues/13451) [the](https://github.com/facebook/react/issues/4335) [years](https://github.com/facebook/react/issues/1691) [on](https://github.com/facebook/react/issues/285#issuecomment-253502585) [our](https://github.com/facebook/react/pull/8117) [issue](https://github.com/facebook/react/issues/11530) [tracker](https://github.com/facebook/react/issues/7128) related to integrating React with non-React code have been fixed by the new behavior. +Nosotros hemos confirmado que [numerosos](https://github.com/facebook/react/issues/7094) [problemas](https://github.com/facebook/react/issues/8693) [informados](https://github.com/facebook/react/issues/12518) [durante](https://github.com/facebook/react/issues/13451) [los](https://github.com/facebook/react/issues/4335) [años](https://github.com/facebook/react/issues/1691) [en](https://github.com/facebook/react/issues/285#issuecomment-253502585) [nuestro](https://github.com/facebook/react/pull/8117) [rastreador](https://github.com/facebook/react/issues/11530) [de problemas](https://github.com/facebook/react/issues/7128) relacionados con la integración de React con código que no es de React han sido corregidos por el nuevo comportamiento. -If you run into issues with this change, [here's a common way to resolve them](/blog/2020/08/10/react-v17-rc.html#fixing-potential-issues). -## Other Breaking Changes +Si tiene problemas con este cambio, [aquí hay una forma común de resolverlos](/blog/2020/08/10/react-v17-rc.html#fixing-potential-issues). -[The React 17 RC blog post](/blog/2020/08/10/react-v17-rc.html#other-breaking-changes) describes the rest of the breaking changes in React 17. +## Otros cambios importantes -We've only had to change fewer than twenty components out of 100,000+ in the Facebook product code to work with these changes, so **we expect that most apps can upgrade to React 17 without too much trouble**. Please [tell us](https://github.com/facebook/react/issues) if you run into problems. +[La publicación del blog React 17 RC](/blog/2020/08/10/react-v17-rc.html#other-breaking-changes) describe el resto de los cambios importantes en React 17. -## New JSX Transform +Solo hemos tenido que cambiar menos de veinte componentes de más de 100.000 en el código de producto de Facebook para trabajar con estos cambios, por lo que **esperamos que la mayoría de las aplicaciones puedan actualizarse a React 17 sin demasiados problemas**. Por favor [díganos](https://github.com/facebook/react/issues) si tienes problemas. -React 17 supports the [new JSX transform](/blog/2020/09/22/introducing-the-new-jsx-transform.html). We've also backported support for it to React 16.14.0, React 15.7.0, and 0.14.10. Note that it is completely opt-in, and you don't have to use it. The classic JSX transform will keep working, and there are no plans to stop supporting it. +## Nueva transformación JSX + +React 17 admite la [nueva transformación JSX](/blog/2020/09/22/introducing-the-new-jsx-transform.html). También hemos respaldado el soporte para React 16.14.0, React 15.7.0 y 0.14.10. Tenga en cuenta que es completamente opcional y no tiene que usarlo. La transformación JSX clásica seguirá funcionando y no hay planes para dejar de admitirla. ## React Native -React Native has a separate release schedule. We currently expect the support for React 17 to land in React Native 0.65, but the exact version is subject to change. As always, you can track the release discussions on the React Native Community releases [issue tracker](https://github.com/react-native-community/releases). +React Native tiene un calendario de lanzamiento independiente. Actualmente esperamos que el soporte para React 17 aterrice en React Native 0.65, pero la versión exacta está sujeta a cambios. Como siempre, puede realizar un seguimiento de las discusiones de lanzamiento sobre los lanzamientos de React Native Community [seguimiento de problemas](https://github.com/react-native-community/releases). -## Installation {#installation} +## Instalación {#installation} -To install React 17 with npm, run: +Para instalar React 17 con NPM, ejecute: ```bash npm install react@17.0.0 react-dom@17.0.0 ``` -To install React 17 with Yarn, run: +Para instalar React 17 con Yarn, ejecute: ```bash yarn add react@17.0.0 react-dom@17.0.0 ``` -We also provide UMD builds of React via a CDN: +También proporcionamos compilaciones UMD de React a través de una CDN: ```html ``` -Refer to the documentation for [detailed installation instructions](/docs/installation.html). +Consulte la documentación para obtener [instrucciones de instalación detalladas](/docs/installation.html). -## Changelog {#changelog} +## Registros de Cambios {#changelog} ### React {#react} -* Add `react/jsx-runtime` and `react/jsx-dev-runtime` for the [new JSX transform](https://babeljs.io/blog/2020/03/16/7.9.0#a-new-jsx-transform-11154-https-githubcom-babel-babel-pull-11154). ([@lunaruan](https://github.com/lunaruan) in [#18299](https://github.com/facebook/react/pull/18299)) -* Build component stacks from native error frames. ([@sebmarkbage](https://github.com/sebmarkbage) in [#18561](https://github.com/facebook/react/pull/18561)) -* Allow to specify `displayName` on context for improved stacks. ([@eps1lon](https://github.com/eps1lon) in [#18224](https://github.com/facebook/react/pull/18224)) -* Prevent `'use strict'` from leaking in the UMD bundles. ([@koba04](https://github.com/koba04) in [#19614](https://github.com/facebook/react/pull/19614)) -* Stop using `fb.me` for redirects. ([@cylim](https://github.com/cylim) in [#19598](https://github.com/facebook/react/pull/19598)) +*Agregar `react/jsx-runtime` y` react/jsx-dev-runtime` para la [nueva transformación JSX](https://babeljs.io/blog/2020/03/16/7.9.0#a-new-jsx-transform-11154-https-githubcom-babel-babel-pull-11154). ([@lunaruan](https://github.com/lunaruan) in [#18299](https://github.com/facebook/react/pull/18299)) +* Cree pilas de componentes a partir de marcos de error nativos. ([@sebmarkbage](https://github.com/sebmarkbage) en [#18561](https://github.com/facebook/react/pull/18561)) +* Permitir especificar `displayName` en el contexto para mejorar las pilas. ([@eps1lon](https://github.com/eps1lon) in [#18224](https://github.com/facebook/react/pull/18224)) +* Evite que el `'use strict'` se filtre en los paquetes UMD. ([@koba04](https://github.com/koba04) en [#19614](https://github.com/facebook/react/pull/19614)) +* Deja de usar `fb.me` para redireccionamientos. ([@cylim](https://github.com/cylim) en [#19598](https://github.com/facebook/react/pull/19598)) ### React DOM {#react-dom} From 03720777990c854fa369889a2fbe0e34b0a96b0f Mon Sep 17 00:00:00 2001 From: Francisco Imanol Suarez Date: Tue, 17 Nov 2020 16:08:27 -0300 Subject: [PATCH 4/8] Experimental, React Server y React Test Render --- content/blog/2020-10-20-react-v17.md | 130 +++++++++++++-------------- 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/content/blog/2020-10-20-react-v17.md b/content/blog/2020-10-20-react-v17.md index 20297a0f2..3bbb88aab 100644 --- a/content/blog/2020-10-20-react-v17.md +++ b/content/blog/2020-10-20-react-v17.md @@ -96,75 +96,75 @@ Consulte la documentación para obtener [instrucciones de instalación detallada ### React DOM {#react-dom} -* Delegate events to roots instead of `document`. ([@trueadm](https://github.com/trueadm) in [#18195](https://github.com/facebook/react/pull/18195) and [others](https://github.com/facebook/react/pulls?q=is%3Apr+author%3Atrueadm+modern+event+is%3Amerged)) -* Clean up all effects before running any next effects. ([@bvaughn](https://github.com/bvaughn) in [#17947](https://github.com/facebook/react/pull/17947)) -* Run `useEffect` cleanup functions asynchronously. ([@bvaughn](https://github.com/bvaughn) in [#17925](https://github.com/facebook/react/pull/17925)) -* Use browser `focusin` and `focusout` for `onFocus` and `onBlur`. ([@trueadm](https://github.com/trueadm) in [#19186](https://github.com/facebook/react/pull/19186)) -* Make all `Capture` events use the browser capture phase. ([@trueadm](https://github.com/trueadm) in [#19221](https://github.com/facebook/react/pull/19221)) -* Don't emulate bubbling of the `onScroll` event. ([@gaearon](https://github.com/gaearon) in [#19464](https://github.com/facebook/react/pull/19464)) -* Throw if `forwardRef` or `memo` component returns `undefined`. ([@gaearon](https://github.com/gaearon) in [#19550](https://github.com/facebook/react/pull/19550)) -* Remove event pooling. ([@trueadm](https://github.com/trueadm) in [#18969](https://github.com/facebook/react/pull/18969)) -* Stop exposing internals that won’t be needed by React Native Web. ([@necolas](https://github.com/necolas) in [#18483](https://github.com/facebook/react/pull/18483)) -* Attach all known event listeners when the root mounts. ([@gaearon](https://github.com/gaearon) in [#19659](https://github.com/facebook/react/pull/19659)) -* Disable `console` in the second render pass of DEV mode double render. ([@sebmarkbage](https://github.com/sebmarkbage) in [#18547](https://github.com/facebook/react/pull/18547)) +* Delegar eventos a las raíces en lugar de `document`. ([@trueadm](https://github.com/trueadm) en [#18195](https://github.com/facebook/react/pull/18195) y [otros](https://github.com/facebook/react/pulls?q=is%3Apr+author%3Atrueadm+modern+event+is%3Amerged)) +* Limpia todos los efectos antes de ejecutar los siguientes efectos. ([@bvaughn](https://github.com/bvaughn) en [#17947](https://github.com/facebook/react/pull/17947)) +* Ejecute las funciones de limpieza `useEffect` de forma asíncrona. ([@bvaughn](https://github.com/bvaughn) en [#17925](https://github.com/facebook/react/pull/17925)) +* Utilice el navegador `focusin` y `focusout` para `onFocus` y`onBlur`. ([@trueadm](https://github.com/trueadm) en [#19186](https://github.com/facebook/react/pull/19186)) +* Haga que todos los eventos de `capture` utilicen la fase de captura del navegador. ([@trueadm](https://github.com/trueadm) en [#19221](https://github.com/facebook/react/pull/19221)) +* No emule el burbujeo del evento `onScroll`. ([@gaearon](https://github.com/gaearon) en [#19464](https://github.com/facebook/react/pull/19464)) +* Lanzar si el componente `forwardRef` o `memo` devuelve `undefined`. ([@gaearon](https://github.com/gaearon) en [#19550](https://github.com/facebook/react/pull/19550)) +* Elimina la agrupación de eventos. ([@trueadm](https://github.com/trueadm) en [#18969](https://github.com/facebook/react/pull/18969)) +* Deje de exponer componentes internos que React Native Web no necesitará. ([@necolas](https://github.com/necolas) en [#18483](https://github.com/facebook/react/pull/18483)) +* Adjunte todos los detectores de eventos conocidos cuando se monte la raíz. ([@gaearon](https://github.com/gaearon) en [#19659](https://github.com/facebook/react/pull/19659)) +* Deshabilite `console` en el segundo paso de renderizado del modo DEV doble render. ([@sebmarkbage](https://github.com/sebmarkbage) en [#18547](https://github.com/facebook/react/pull/18547)) * Deprecate the undocumented and misleading `ReactTestUtils.SimulateNative` API. ([@gaearon](https://github.com/gaearon) in [#13407](https://github.com/facebook/react/pull/13407)) -* Rename private field names used in the internals. ([@gaearon](https://github.com/gaearon) in [#18377](https://github.com/facebook/react/pull/18377)) -* Don't call User Timing API in development. ([@gaearon](https://github.com/gaearon) in [#18417](https://github.com/facebook/react/pull/18417)) -* Disable console during the repeated render in Strict Mode. ([@sebmarkbage](https://github.com/sebmarkbage) in [#18547](https://github.com/facebook/react/pull/18547)) -* In Strict Mode, double-render components without Hooks too. ([@eps1lon](https://github.com/eps1lon) in [#18430](https://github.com/facebook/react/pull/18430)) -* Allow calling `ReactDOM.flushSync` during lifecycle methods (but warn). ([@sebmarkbage](https://github.com/sebmarkbage) in [#18759](https://github.com/facebook/react/pull/18759)) -* Add the `code` property to the keyboard event objects. ([@bl00mber](https://github.com/bl00mber) in [#18287](https://github.com/facebook/react/pull/18287)) -* Add the `disableRemotePlayback` property for `video` elements. ([@tombrowndev](https://github.com/tombrowndev) in [#18619](https://github.com/facebook/react/pull/18619)) -* Add the `enterKeyHint` property for `input` elements. ([@eps1lon](https://github.com/eps1lon) in [#18634](https://github.com/facebook/react/pull/18634)) -* Warn when no `value` is provided to ``. ([@charlie1404](https://github.com/charlie1404) in [#19054](https://github.com/facebook/react/pull/19054)) -* Warn when `memo` or `forwardRef` components return `undefined`. ([@bvaughn](https://github.com/bvaughn) in [#19550](https://github.com/facebook/react/pull/19550)) -* Improve the error message for invalid updates. ([@JoviDeCroock](https://github.com/JoviDeCroock) in [#18316](https://github.com/facebook/react/pull/18316)) -* Exclude forwardRef and memo from stack frames. ([@sebmarkbage](https://github.com/sebmarkbage) in [#18559](https://github.com/facebook/react/pull/18559)) -* Improve the error message when switching between controlled and uncontrolled inputs. ([@vcarl](https://github.com/vcarl) in [#17070](https://github.com/facebook/react/pull/17070)) -* Keep `onTouchStart`, `onTouchMove`, and `onWheel` passive. ([@gaearon](https://github.com/gaearon) in [#19654](https://github.com/facebook/react/pull/19654)) -* Fix `setState` hanging in development inside a closed iframe. ([@gaearon](https://github.com/gaearon) in [#19220](https://github.com/facebook/react/pull/19220)) -* Fix rendering bailout for lazy components with `defaultProps`. ([@jddxf](https://github.com/jddxf) in [#18539](https://github.com/facebook/react/pull/18539)) -* Fix a false positive warning when `dangerouslySetInnerHTML` is `undefined`. ([@eps1lon](https://github.com/eps1lon) in [#18676](https://github.com/facebook/react/pull/18676)) -* Fix Test Utils with non-standard `require` implementation. ([@just-boris](https://github.com/just-boris) in [#18632](https://github.com/facebook/react/pull/18632)) -* Fix `onBeforeInput` reporting an incorrect `event.type`. ([@eps1lon](https://github.com/eps1lon) in [#19561](https://github.com/facebook/react/pull/19561)) -* Fix `event.relatedTarget` reported as `undefined` in Firefox. ([@claytercek](https://github.com/claytercek) in [#19607](https://github.com/facebook/react/pull/19607)) -* Fix "unspecified error" in IE11. ([@hemakshis](https://github.com/hemakshis) in [#19664](https://github.com/facebook/react/pull/19664)) -* Fix rendering into a shadow root. ([@Jack-Works](https://github.com/Jack-Works) in [#15894](https://github.com/facebook/react/pull/15894)) -* Fix `movementX/Y` polyfill with capture events. ([@gaearon](https://github.com/gaearon) in [#19672](https://github.com/facebook/react/pull/19672)) -* Use delegation for `onSubmit` and `onReset` events. ([@gaearon](https://github.com/gaearon) in [#19333](https://github.com/facebook/react/pull/19333)) -* Improve memory usage. ([@trueadm](https://github.com/trueadm) in [#18970](https://github.com/facebook/react/pull/18970)) +* Renombrar los campos privados utilizados en los aspectos internos. ([@gaearon](https://github.com/gaearon) en [#18377](https://github.com/facebook/react/pull/18377)) +* No llames a la API User Timing en desarrollo. ([@gaearon](https://github.com/gaearon) en [#18417](https://github.com/facebook/react/pull/18417)) +* Desactive la consola durante el renderizado repetido en modo estricto. ([@sebmarkbage](https://github.com/sebmarkbage) en [#18547](https://github.com/facebook/react/pull/18547)) +* In Strict Mode, double-render components without Hooks too. ([@eps1lon](https://github.com/eps1lon) en [#18430](https://github.com/facebook/react/pull/18430)) +* Permitir llamar a `ReactDOM.flushSync` durante los métodos del ciclo de vida (warn). ([@sebmarkbage](https://github.com/sebmarkbage) en [#18759](https://github.com/facebook/react/pull/18759)) +* Agregue la propiedad `code` a los objetos de evento de teclado. ([@bl00mber](https://github.com/bl00mber) en [#18287](https://github.com/facebook/react/pull/18287)) +* Agregue la propiedad `disableRemotePlayback` para los elementos `video`. ([@tombrowndev](https://github.com/tombrowndev) en [#18619](https://github.com/facebook/react/pull/18619)) +* Agregue la propiedad `enterKeyHint` para los elementos `input`. ([@eps1lon](https://github.com/eps1lon) en [#18634](https://github.com/facebook/react/pull/18634)) +* Advertencia cuando no se proporciona un `valor` a` `. ([@charlie1404](https://github.com/charlie1404) en [#19054](https://github.com/facebook/react/pull/19054)) +* Advertencia cuando los componentes `memo` o `forwardRef` devuelvan `undefined`. ([@bvaughn](https://github.com/bvaughn) en [#19550](https://github.com/facebook/react/pull/19550)) +* Mejorar el mensaje de error para actualizaciones no válidas. ([@JoviDeCroock](https://github.com/JoviDeCroock) en [#18316](https://github.com/facebook/react/pull/18316)) +* Excluir forwardRef y memo de marcos de pila. ([@sebmarkbage](https://github.com/sebmarkbage) en [#18559](https://github.com/facebook/react/pull/18559)) +* Mejora el mensaje de error al cambiar entre entradas controladas y no controladas. ([@vcarl](https://github.com/vcarl) en [#17070](https://github.com/facebook/react/pull/17070)) +* Mantenga pasivo `onTouchStart`, `onTouchMove` y `onWheel`. ([@gaearon](https://github.com/gaearon) en [#19654](https://github.com/facebook/react/pull/19654)) +* Arreglar `setState` colgando en desarrollo dentro de un iframe cerrado. ([@gaearon](https://github.com/gaearon) en [#19220](https://github.com/facebook/react/pull/19220)) +* Arreglar el rescate de renderizado para componentes perezosos con `defaultProps`. ([@jddxf](https://github.com/jddxf) en [#18539](https://github.com/facebook/react/pull/18539)) +* Corregir una advertencia de falso positivo cuando `dangerouslySetInnerHTML` es` undefined`. ([@eps1lon](https://github.com/eps1lon) en [#18676](https://github.com/facebook/react/pull/18676)) +* Corregir Test Utils con implementación `require` no estándar. ([@just-boris](https://github.com/just-boris) en [#18632](https://github.com/facebook/react/pull/18632)) +* Se corrigió que `onBeforeInput` informara un` tipo de evento` incorrecto. ([@eps1lon](https://github.com/eps1lon) en [#19561](https://github.com/facebook/react/pull/19561)) +* Arreglar `event.relatedTarget` reportado como` undefined` en Firefox. ([@claytercek](https://github.com/claytercek) en [#19607](https://github.com/facebook/react/pull/19607)) +* Se corrigió el "error no especificado" en IE11. ([@hemakshis](https://github.com/hemakshis) en [#19664](https://github.com/facebook/react/pull/19664)) +* Corregir el renderizado en una raíz de sombra. ([@Jack-Works](https://github.com/Jack-Works) en [#15894](https://github.com/facebook/react/pull/15894)) +* Corregir polyfill `movementX/Y` con eventos de captura. ([@gaearon](https://github.com/gaearon) en [#19672](https://github.com/facebook/react/pull/19672)) +* Utilice la delegación para los eventos `onSubmit` y `onReset`. ([@gaearon](https://github.com/gaearon) en [#19333](https://github.com/facebook/react/pull/19333)) +* Mejorar el uso de la memoria. ([@trueadm](https://github.com/trueadm) en [#18970](https://github.com/facebook/react/pull/18970)) ### React DOM Server {#react-dom-server} -* Make `useCallback` behavior consistent with `useMemo` for the server renderer. ([@alexmckenley](https://github.com/alexmckenley) in [#18783](https://github.com/facebook/react/pull/18783)) -* Fix state leaking when a function component throws. ([@pmaccart](https://github.com/pmaccart) in [#19212](https://github.com/facebook/react/pull/19212)) +* Make `useCallback` behavior consistent with `useMemo` for the server renderer. ([@alexmckenley](https://github.com/alexmckenley) en [#18783](https://github.com/facebook/react/pull/18783)) +* Arreglar la fuga de estado cuando se lanza un componente de función. ([@pmaccart](https://github.com/pmaccart) en [#19212](https://github.com/facebook/react/pull/19212)) ### React Test Renderer {#react-test-renderer} -* Improve `findByType` error message. ([@henryqdineen](https://github.com/henryqdineen) in [#17439](https://github.com/facebook/react/pull/17439)) - -### Concurrent Mode (Experimental) {#concurrent-mode-experimental} - -* Revamp the priority batching heuristics. ([@acdlite](https://github.com/acdlite) in [#18796](https://github.com/facebook/react/pull/18796)) -* Add the `unstable_` prefix before the experimental APIs. ([@acdlite](https://github.com/acdlite) in [#18825](https://github.com/facebook/react/pull/18825)) -* Remove `unstable_discreteUpdates` and `unstable_flushDiscreteUpdates`. ([@trueadm](https://github.com/trueadm) in [#18825](https://github.com/facebook/react/pull/18825)) -* Remove the `timeoutMs` argument. ([@acdlite](https://github.com/acdlite) in [#19703](https://github.com/facebook/react/pull/19703)) -* Disable `