From 6cbc55323abc47a130ed015491629cc6f136ab28 Mon Sep 17 00:00:00 2001 From: jvelezpo Date: Tue, 5 Feb 2019 08:23:37 -0500 Subject: [PATCH 01/27] invalid-aria-prop translated --- content/warnings/invalid-aria-prop.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/warnings/invalid-aria-prop.md b/content/warnings/invalid-aria-prop.md index 53ebdd9bc..abc327b95 100644 --- a/content/warnings/invalid-aria-prop.md +++ b/content/warnings/invalid-aria-prop.md @@ -4,8 +4,8 @@ layout: single permalink: warnings/invalid-aria-prop.html --- -The invalid-aria-prop warning will fire if you attempt to render a DOM element with an aria-* prop that does not exist in the Web Accessibility Initiative (WAI) Accessible Rich Internet Application (ARIA) [specification](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties). +La advertencia invalid-aria-prop se activará si intenta renderizar un elemento DOM con un aria-* prop que no existe en la Iniciativa de accesibilidad web (WAI) Aplicación de Internet enriquecida accesible (ARIA) [especificación](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties). -1. If you feel that you are using a valid prop, check the spelling carefully. `aria-labelledby` and `aria-activedescendant` are often misspelled. +1. Si siente que está utilizando un prop válido, revise la ortografía cuidadosamente. `aria-labelledby` y` aria-activedescendant` a menudo están mal escritas. -2. React does not yet recognize the attribute you specified. This will likely be fixed in a future version of React. However, React currently strips all unknown attributes, so specifying them in your React app will not cause them to be rendered \ No newline at end of file +2. React aún no reconoce el atributo que ha especificado. Esto probablemente se solucionará en una versión futura de React. Sin embargo, React actualmente elimina todos los atributos desconocidos, por lo que especificarlos en su aplicación React no hará que se renderizen \ No newline at end of file From 01fa88533803bf31d111776ecd2371f42782b95b Mon Sep 17 00:00:00 2001 From: jvelezpo Date: Tue, 5 Feb 2019 09:11:23 -0500 Subject: [PATCH 02/27] refs-must-have-owner translated --- content/warnings/refs-must-have-owner.md | 43 ++++++++++++------------ 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index e95dff489..1a4c19fa6 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -4,45 +4,46 @@ layout: single permalink: warnings/refs-must-have-owner.html --- -You are probably here because you got one of the following error messages: +Probablemente esté aquí porque recibió uno de los siguientes mensajes de error: *React 16.0.0+* -> Warning: +> Advertencia: > -> Element ref was specified as a string (myRefName) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner). +> El elemento ref se especificó como una cadena (myRefName) pero no se estableció ningún propietario. Puede tener varias copias de React cargadas. (detalles: https://fb.me/react-refs-must-have-owner). -*earlier versions of React* -> Warning: +*versiones anteriores de React* +> Advertencia: > -> addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded. +> addComponentAsRefTo(...): solo un ReactOwner puede tener refs. Es posible que esté agregando un ref a un componente que no se creó dentro del método `render` de un componente, o si tiene varias copias cargadas de React. -This usually means one of three things: +Esto usualmente significa una de tres cosas: -- You are trying to add a `ref` to a function component. -- You are trying to add a `ref` to an element that is being created outside of a component's render() function. -- You have multiple (conflicting) copies of React loaded (eg. due to a misconfigured npm dependency) +- Estás intentando agregar un `ref` a un componente de función. +- Está intentando agregar un `ref` a un elemento que se está creando fuera de la función render() de un componente. +- Tiene varias copias (en conflicto) de React cargadas (por ejemplo, debido a una dependencia npm mal configurada) -## Refs on Function Components +## Refs en los componentes de función -If `` is a function component, you can't add a ref to it: +Si `` es un componente de función, no puede agregarle una referencia: ```js -// Doesn't work if Foo is a function! +// ¡No funciona si Foo es una función! ``` If you need to add a ref to a component, convert it to a class first, or consider not using refs as they are [rarely necessary](/docs/refs-and-the-dom.html#when-to-use-refs). +Si necesita agregar una referencia a un componente, primero conviértalo a una clase, o considere no usar las referencias ya que son [raramente necesarias](/docs/refs-and-the-dom.html#when-to-use-refs). -## Strings Refs Outside the Render Method +## Cadenas de Ref fuera del método Render -This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). For example, this won't work: +Esto generalmente significa que está intentando agregar una referencia a un componente que no tiene un propietario (es decir, no se creó dentro del método `render` de otro componente). Por ejemplo, esto no funcionará: ```js -// Doesn't work! +// ¡No funciona! ReactDOM.render(, el); ``` -Try rendering this component inside of a new top-level component which will hold the ref. Alternatively, you may use a callback ref: +Intente renderizar este componente dentro de un nuevo componente de nivel superior que contendrá la referencia. Como alternativa, puede utilizar una referencia de callback: ```js let app; @@ -54,10 +55,10 @@ ReactDOM.render( ); ``` -Consider if you [really need a ref](/docs/refs-and-the-dom.html#when-to-use-refs) before using this approach. +Considere si [realmente necesita una referencia](/docs/refs-and-the-dom.html#when-to-use-refs) antes de usar este enfoque. -## Multiple copies of React +## Múltiples copias de React -Bower does a good job of deduplicating dependencies, but npm does not. If you aren't doing anything (fancy) with refs, there is a good chance that the problem is not with your refs, but rather an issue with having multiple copies of React loaded into your project. Sometimes, when you pull in a third-party module via npm, you will get a duplicate copy of the dependency library, and this can create problems. +Bower hace un buen trabajo de deduplicación de dependencias, pero npm no lo hace. Si no está haciendo nada (elegante) con refs, hay una buena probabilidad de que el problema no sea con sus refs, sino más bien un problema con tener varias copias de React cargadas en su proyecto. A veces, cuando ingresa un módulo de terceros a través de npm, obtendrá una copia duplicada de la biblioteca de dependencias, y esto puede crear problemas. -If you are using npm... `npm ls` or `npm ls react` might help illuminate. +Si está utilizando npm... `npm ls` o `npm ls react` puede ayudar a clarificar. From 61d13d3a7ecebbdc8cdd8124509aa71a9bcf09a1 Mon Sep 17 00:00:00 2001 From: jvelezpo Date: Tue, 5 Feb 2019 09:26:21 -0500 Subject: [PATCH 03/27] dont-call-proptypes translated --- content/warnings/dont-call-proptypes.md | 49 +++++++++++++------------ 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 7eba37090..25c120db2 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -4,17 +4,17 @@ layout: single permalink: warnings/dont-call-proptypes.html --- -> Note: +> Nota: > -> `React.PropTypes` has moved into a different package since React v15.5. Please use [the `prop-types` library instead](https://www.npmjs.com/package/prop-types). +> `React.PropTypes` se ha mudado a un paquete diferente desde React v15.5. Utilice [la biblioteca `prop-types` en su lugar](https://www.npmjs.com/package/prop-types). > ->We provide [a codemod script](/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes) to automate the conversion. +> Proporcionamos [un script codemod](/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes) para automatizar la conversión. -In a future major release of React, the code that implements PropType validation functions will be stripped in production. Once this happens, any code that calls these functions manually (that isn't stripped in production) will throw an error. +En una importante versión futura de React, el código que implementa las funciones de validación PropType se eliminará en producción. Una vez que esto sucede, cualquier código que llame a estas funciones manualmente (que no se haya eliminado en la producción) generará un error. -### Declaring PropTypes is still fine +### Declarar PropTypes todavía está bien -The normal usage of PropTypes is still supported: +El uso normal de PropTypes todavía es compatible: ```javascript Button.propTypes = { @@ -22,11 +22,11 @@ Button.propTypes = { }; ``` -Nothing changes here. +Nada cambia aquí. -### Don’t call PropTypes directly +### No llames PropTypes directamente -Using PropTypes in any other way than annotating React components with them is no longer supported: +Ya no se admite el uso de PropTypes de otra manera que no sea la anotación de componentes React con ellos: ```javascript var apiShape = PropTypes.shape({ @@ -34,40 +34,40 @@ var apiShape = PropTypes.shape({ statusCode: PropTypes.number.isRequired }).isRequired; -// Not supported! +// ¡No soportado! var error = apiShape(json, 'response'); ``` -If you depend on using PropTypes like this, we encourage you to use or create a fork of PropTypes (such as [these](https://github.com/aackerman/PropTypes) [two](https://github.com/developit/proptypes) packages). +Si depende de usar PropTypes como este, le recomendamos que use o cree una bifurcación de PropTypes (como [estos](https://github.com/aackerman/PropTypes) [dos](https://github.com/developit/proptypes) paquetes). -If you don't fix the warning, this code will crash in production with React 16. +Si no corrige la advertencia, este código se bloqueará en la producción con React 16. -### If you don't call PropTypes directly but still get the warning +### Si no llama directamente a PropTypes pero sigue recibiendo la advertencia -Inspect the stack trace produced by the warning. You will find the component definition responsible for the PropTypes direct call. Most likely, the issue is due to third-party PropTypes that wrap React’s PropTypes, for example: +Inspeccione la traza producida por la advertencia. Encontrará la definición del componente responsable de la llamada directa PropTypes. Probablemente, el problema se deba a PropTypes de terceros que envuelven PropTypes de React, por ejemplo: ```js Button.propTypes = { highlighted: ThirdPartyPropTypes.deprecated( PropTypes.bool, - 'Use `active` prop instead' + 'Usa prop `active` en su lugar' ) } ``` -In this case, `ThirdPartyPropTypes.deprecated` is a wrapper calling `PropTypes.bool`. This pattern by itself is fine, but triggers a false positive because React thinks you are calling PropTypes directly. The next section explains how to fix this problem for a library implementing something like `ThirdPartyPropTypes`. If it's not a library you wrote, you can file an issue against it. +En este caso, `ThirdPartyPropTypes.deprecated` es un contenedor que llama a `PropTypes.bool`. Este patrón en sí mismo está bien, pero desencadena un falso positivo porque React cree que usted está llamando directamente a PropTypes. La siguiente sección explica cómo solucionar este problema para una biblioteca que implementa algo como `ThirdPartyPropTypes`. Si no es una biblioteca que escribió, puede presentar un problema en su contra. -### Fixing the false positive in third party PropTypes +### Corrección del falso positivo en PropTypes de terceros -If you are an author of a third party PropTypes library and you let consumers wrap existing React PropTypes, they might start seeing this warning coming from your library. This happens because React doesn't see a "secret" last argument that [it passes](https://github.com/facebook/react/pull/7132) to detect manual PropTypes calls. +Si usted es autor de una biblioteca PropTypes de terceros y deja que los consumidores envuelvan los PropTypes React existentes, es posible que comiencen a ver esta advertencia proveniente de su biblioteca. Esto sucede porque React no ve un último argumento "secreto" que [pasa](https://github.com/facebook/react/pull/7132) para detectar llamadas de PropTypes manuales. -Here is how to fix it. We will use `deprecated` from [react-bootstrap/react-prop-types](https://github.com/react-bootstrap/react-prop-types/blob/0d1cd3a49a93e513325e3258b28a82ce7d38e690/src/deprecated.js) as an example. The current implementation only passes down the `props`, `propName`, and `componentName` arguments: +Aquí esta cómo solucionarlo. Usaremos `deprecated` de [react-bootstrap/react-prop-types](https://github.com/react-bootstrap/react-prop-types/blob/0d1cd3a49a93e513325e3258b28a82ce7d38e690/src/deprecated.js) como un ejemplo . La implementación actual solo pasa los argumentos `props`,` propName` y `componentName`: ```javascript export default function deprecated(propType, explanation) { return function validate(props, propName, componentName) { if (props[propName] != null) { - const message = `"${propName}" property of "${componentName}" has been deprecated.\n${explanation}`; + const message = `"${propName}" propiedad de "${componentName}" ha sido desaprobado.\n${explanation}`; if (!warned[message]) { warning(false, message); warned[message] = true; @@ -80,21 +80,22 @@ export default function deprecated(propType, explanation) { ``` In order to fix the false positive, make sure you pass **all** arguments down to the wrapped PropType. This is easy to do with the ES6 `...rest` notation: +Para corregir el falso positivo, asegúrese de pasar **todos** los argumentos al PropType envuelto. Esto es fácil de hacer con la notación ES6 `...rest`: ```javascript export default function deprecated(propType, explanation) { - return function validate(props, propName, componentName, ...rest) { // Note ...rest here + return function validate(props, propName, componentName, ...rest) { // Nota ...rest aqui if (props[propName] != null) { - const message = `"${propName}" property of "${componentName}" has been deprecated.\n${explanation}`; + const message = `"${propName}" propiedad de "${componentName}" ha sido desaprobado.\n${explanation}`; if (!warned[message]) { warning(false, message); warned[message] = true; } } - return propType(props, propName, componentName, ...rest); // and here + return propType(props, propName, componentName, ...rest); // y aqui }; } ``` -This will silence the warning. +Esto silenciará la advertencia. From 20cca5f277d0160c7aaced5d625b518cf736da4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:03:56 -0500 Subject: [PATCH 04/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 25c120db2..e222ff7c8 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -6,7 +6,7 @@ permalink: warnings/dont-call-proptypes.html > Nota: > -> `React.PropTypes` se ha mudado a un paquete diferente desde React v15.5. Utilice [la biblioteca `prop-types` en su lugar](https://www.npmjs.com/package/prop-types). +> `React.PropTypes` se ha mudado a un paquete diferente desde React v15.5. Utiliza [la biblioteca `prop-types` en su lugar](https://www.npmjs.com/package/prop-types). > > Proporcionamos [un script codemod](/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes) para automatizar la conversión. From ebe0f2f259d5df8f508910fe880d143b3ef61494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:04:12 -0500 Subject: [PATCH 05/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index e222ff7c8..803d24f19 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -10,7 +10,7 @@ permalink: warnings/dont-call-proptypes.html > > Proporcionamos [un script codemod](/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes) para automatizar la conversión. -En una importante versión futura de React, el código que implementa las funciones de validación PropType se eliminará en producción. Una vez que esto sucede, cualquier código que llame a estas funciones manualmente (que no se haya eliminado en la producción) generará un error. +En una importante versión futura de React, el código que implementa las funciones de validación PropType se eliminará en producción. Una vez que esto suceda, cualquier código que llame a estas funciones manualmente (que no se haya eliminado en producción) generará un error. ### Declarar PropTypes todavía está bien From 8e73fd56fe589b801622b633b0daaf4eb0efd10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:04:32 -0500 Subject: [PATCH 06/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 803d24f19..9c1943d86 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -38,7 +38,7 @@ var apiShape = PropTypes.shape({ var error = apiShape(json, 'response'); ``` -Si depende de usar PropTypes como este, le recomendamos que use o cree una bifurcación de PropTypes (como [estos](https://github.com/aackerman/PropTypes) [dos](https://github.com/developit/proptypes) paquetes). +Si dependes en el uso de PropTypes como este, te recomendamos que uses o crees una bifurcación de PropTypes (como [estos](https://github.com/aackerman/PropTypes) [dos](https://github.com/developit/proptypes) paquetes). Si no corrige la advertencia, este código se bloqueará en la producción con React 16. From 00161e0d526b6bf6838d52fe2075439364ef8495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:04:47 -0500 Subject: [PATCH 07/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 9c1943d86..464e8a48e 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -40,7 +40,7 @@ var error = apiShape(json, 'response'); Si dependes en el uso de PropTypes como este, te recomendamos que uses o crees una bifurcación de PropTypes (como [estos](https://github.com/aackerman/PropTypes) [dos](https://github.com/developit/proptypes) paquetes). -Si no corrige la advertencia, este código se bloqueará en la producción con React 16. +Si no corriges la advertencia, este código se bloqueará en la versión de producción que use React 16. ### Si no llama directamente a PropTypes pero sigue recibiendo la advertencia From 0ffe1eb8c76521951871dac42b9a605c6d15ce6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:05:00 -0500 Subject: [PATCH 08/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 464e8a48e..57b7a0a57 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -42,7 +42,7 @@ Si dependes en el uso de PropTypes como este, te recomendamos que uses o crees u Si no corriges la advertencia, este código se bloqueará en la versión de producción que use React 16. -### Si no llama directamente a PropTypes pero sigue recibiendo la advertencia +### Si no llamas directamente a PropTypes pero sigues recibiendo la advertencia Inspeccione la traza producida por la advertencia. Encontrará la definición del componente responsable de la llamada directa PropTypes. Probablemente, el problema se deba a PropTypes de terceros que envuelven PropTypes de React, por ejemplo: From 1a0c227016d7bffdd1b800fe78bdf1f3fb9c0067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:05:16 -0500 Subject: [PATCH 09/27] Update content/warnings/refs-must-have-owner.md Co-Authored-By: jvelezpo --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index 1a4c19fa6..666cd8b9b 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -36,7 +36,7 @@ Si necesita agregar una referencia a un componente, primero conviértalo a una c ## Cadenas de Ref fuera del método Render -Esto generalmente significa que está intentando agregar una referencia a un componente que no tiene un propietario (es decir, no se creó dentro del método `render` de otro componente). Por ejemplo, esto no funcionará: +Esto generalmente significa que estás intentando agregar una referencia a un componente que no tiene un propietario (es decir, no se creó dentro del método `render` de otro componente). Por ejemplo, esto no funcionará: ```js // ¡No funciona! From 539117ba6b6e581944789dffbfca745a47162bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:05:28 -0500 Subject: [PATCH 10/27] Update content/warnings/refs-must-have-owner.md Co-Authored-By: jvelezpo --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index 666cd8b9b..0f0490500 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -43,7 +43,7 @@ Esto generalmente significa que estás intentando agregar una referencia a un co ReactDOM.render(, el); ``` -Intente renderizar este componente dentro de un nuevo componente de nivel superior que contendrá la referencia. Como alternativa, puede utilizar una referencia de callback: +Intenta renderizar este componente dentro de un nuevo componente de nivel superior que contendrá la referencia. Como alternativa, puedes utilizar una referencia de callback: ```js let app; From 9734601bc1ba7a5ac045505f997a00d610b81200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:05:39 -0500 Subject: [PATCH 11/27] Update content/warnings/refs-must-have-owner.md Co-Authored-By: jvelezpo --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index 0f0490500..1ca084d00 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -55,7 +55,7 @@ ReactDOM.render( ); ``` -Considere si [realmente necesita una referencia](/docs/refs-and-the-dom.html#when-to-use-refs) antes de usar este enfoque. +Considera si [realmente necesitas una referencia](/docs/refs-and-the-dom.html#when-to-use-refs) antes de usar este enfoque. ## Múltiples copias de React From f58a04c2c9ad6d1959d467ccbb204209379c04bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:05:55 -0500 Subject: [PATCH 12/27] Update content/warnings/refs-must-have-owner.md Co-Authored-By: jvelezpo --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index 1ca084d00..3a55949a0 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -59,6 +59,6 @@ Considera si [realmente necesitas una referencia](/docs/refs-and-the-dom.html#wh ## Múltiples copias de React -Bower hace un buen trabajo de deduplicación de dependencias, pero npm no lo hace. Si no está haciendo nada (elegante) con refs, hay una buena probabilidad de que el problema no sea con sus refs, sino más bien un problema con tener varias copias de React cargadas en su proyecto. A veces, cuando ingresa un módulo de terceros a través de npm, obtendrá una copia duplicada de la biblioteca de dependencias, y esto puede crear problemas. +Bower hace un buen trabajo de deduplicación de dependencias, pero npm no lo hace. Si no está haciendo nada (elegante) con refs, hay una buena probabilidad de que el problema no sea con sus refs, sino más bien un problema con tener varias copias de React cargadas en tu proyecto. A veces, cuando ingresa un módulo de terceros a través de npm, obtendrás una copia duplicada de la biblioteca de dependencias, y esto puede crear problemas. Si está utilizando npm... `npm ls` o `npm ls react` puede ayudar a clarificar. From 0b20f8d28e8af507771cd3367a26ad8e4c29502b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:06:10 -0500 Subject: [PATCH 13/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 57b7a0a57..d4cb0fc45 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -44,7 +44,7 @@ Si no corriges la advertencia, este código se bloqueará en la versión de prod ### Si no llamas directamente a PropTypes pero sigues recibiendo la advertencia -Inspeccione la traza producida por la advertencia. Encontrará la definición del componente responsable de la llamada directa PropTypes. Probablemente, el problema se deba a PropTypes de terceros que envuelven PropTypes de React, por ejemplo: +Inspecciona la traza producida por la advertencia. Encontrarás la definición del componente responsable de la llamada directa PropTypes. Probablemente, el problema se deba a PropTypes de terceros que envuelven PropTypes de React, por ejemplo: ```js Button.propTypes = { From 79a714d859d6ccf88dffabf1c12d6d5f094bd75b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:06:38 -0500 Subject: [PATCH 14/27] Update content/warnings/refs-must-have-owner.md Co-Authored-By: jvelezpo --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index 3a55949a0..6829e4362 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -61,4 +61,4 @@ Considera si [realmente necesitas una referencia](/docs/refs-and-the-dom.html#wh Bower hace un buen trabajo de deduplicación de dependencias, pero npm no lo hace. Si no está haciendo nada (elegante) con refs, hay una buena probabilidad de que el problema no sea con sus refs, sino más bien un problema con tener varias copias de React cargadas en tu proyecto. A veces, cuando ingresa un módulo de terceros a través de npm, obtendrás una copia duplicada de la biblioteca de dependencias, y esto puede crear problemas. -Si está utilizando npm... `npm ls` o `npm ls react` puede ayudar a clarificar. +Si estás utilizando npm... `npm ls` o `npm ls react` pueden ayudarte a iluminarte. From 59419de93316202f7a3c1426a3696d31c6a63ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:07:07 -0500 Subject: [PATCH 15/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index d4cb0fc45..1b59b100b 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -55,7 +55,7 @@ Button.propTypes = { } ``` -En este caso, `ThirdPartyPropTypes.deprecated` es un contenedor que llama a `PropTypes.bool`. Este patrón en sí mismo está bien, pero desencadena un falso positivo porque React cree que usted está llamando directamente a PropTypes. La siguiente sección explica cómo solucionar este problema para una biblioteca que implementa algo como `ThirdPartyPropTypes`. Si no es una biblioteca que escribió, puede presentar un problema en su contra. +En este caso, `ThirdPartyPropTypes.deprecated` es un contenedor que llama a `PropTypes.bool`. Este patrón en sí mismo está bien, pero desencadena un falso positivo porque React cree que tú estás llamando directamente a PropTypes. La siguiente sección explica cómo solucionar este problema para una biblioteca que implementa algo como `ThirdPartyPropTypes`. Si no es una biblioteca que escribiste, puedes abrir un issue en su proyecto. ### Corrección del falso positivo en PropTypes de terceros From 37e7d8aa32f8d062a372a3db5eb2e3362280e850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:07:22 -0500 Subject: [PATCH 16/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 1b59b100b..3c6a05945 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -57,7 +57,7 @@ Button.propTypes = { En este caso, `ThirdPartyPropTypes.deprecated` es un contenedor que llama a `PropTypes.bool`. Este patrón en sí mismo está bien, pero desencadena un falso positivo porque React cree que tú estás llamando directamente a PropTypes. La siguiente sección explica cómo solucionar este problema para una biblioteca que implementa algo como `ThirdPartyPropTypes`. Si no es una biblioteca que escribiste, puedes abrir un issue en su proyecto. -### Corrección del falso positivo en PropTypes de terceros +### Solucionando el falso positivo en PropTypes de terceros Si usted es autor de una biblioteca PropTypes de terceros y deja que los consumidores envuelvan los PropTypes React existentes, es posible que comiencen a ver esta advertencia proveniente de su biblioteca. Esto sucede porque React no ve un último argumento "secreto" que [pasa](https://github.com/facebook/react/pull/7132) para detectar llamadas de PropTypes manuales. From 0a03b5de6cd8c7bc9d3f693aaf97dcb04d119211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:07:45 -0500 Subject: [PATCH 17/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 3c6a05945..217977e6e 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -59,7 +59,7 @@ En este caso, `ThirdPartyPropTypes.deprecated` es un contenedor que llama a `Pro ### Solucionando el falso positivo en PropTypes de terceros -Si usted es autor de una biblioteca PropTypes de terceros y deja que los consumidores envuelvan los PropTypes React existentes, es posible que comiencen a ver esta advertencia proveniente de su biblioteca. Esto sucede porque React no ve un último argumento "secreto" que [pasa](https://github.com/facebook/react/pull/7132) para detectar llamadas de PropTypes manuales. +Si tú eres autor de una biblioteca PropTypes y dejas que los consumidores envuelvan los PropTypes React existentes, es posible que comiencen a ver esta advertencia proveniente de su biblioteca. Esto sucede porque React no ve un último argumento "secreto" que [se pasa](https://github.com/facebook/react/pull/7132) para detectar llamadas de PropTypes manuales. Aquí esta cómo solucionarlo. Usaremos `deprecated` de [react-bootstrap/react-prop-types](https://github.com/react-bootstrap/react-prop-types/blob/0d1cd3a49a93e513325e3258b28a82ce7d38e690/src/deprecated.js) como un ejemplo . La implementación actual solo pasa los argumentos `props`,` propName` y `componentName`: From a653c4be86df864f07c37ae45d825d0bfad9bd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:08:05 -0500 Subject: [PATCH 18/27] Update content/warnings/refs-must-have-owner.md Co-Authored-By: jvelezpo --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index 6829e4362..1941c05f2 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -32,7 +32,7 @@ Si `` es un componente de función, no puede agregarle una referencia: ``` If you need to add a ref to a component, convert it to a class first, or consider not using refs as they are [rarely necessary](/docs/refs-and-the-dom.html#when-to-use-refs). -Si necesita agregar una referencia a un componente, primero conviértalo a una clase, o considere no usar las referencias ya que son [raramente necesarias](/docs/refs-and-the-dom.html#when-to-use-refs). +Si necesitas agregar una referencia a un componente, primero conviértelo a una clase, o considera no usar las referencias ya que son [raramente necesarias](/docs/refs-and-the-dom.html#when-to-use-refs). ## Cadenas de Ref fuera del método Render From f757f683978a50a9c20595121f16037d2402c134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:08:24 -0500 Subject: [PATCH 19/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 217977e6e..991c39432 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -61,7 +61,7 @@ En este caso, `ThirdPartyPropTypes.deprecated` es un contenedor que llama a `Pro Si tú eres autor de una biblioteca PropTypes y dejas que los consumidores envuelvan los PropTypes React existentes, es posible que comiencen a ver esta advertencia proveniente de su biblioteca. Esto sucede porque React no ve un último argumento "secreto" que [se pasa](https://github.com/facebook/react/pull/7132) para detectar llamadas de PropTypes manuales. -Aquí esta cómo solucionarlo. Usaremos `deprecated` de [react-bootstrap/react-prop-types](https://github.com/react-bootstrap/react-prop-types/blob/0d1cd3a49a93e513325e3258b28a82ce7d38e690/src/deprecated.js) como un ejemplo . La implementación actual solo pasa los argumentos `props`,` propName` y `componentName`: +Aquí esta cómo solucionarlo. Usaremos `deprecated` de [react-bootstrap/react-prop-types](https://github.com/react-bootstrap/react-prop-types/blob/0d1cd3a49a93e513325e3258b28a82ce7d38e690/src/deprecated.js) como un ejemplo. La implementación actual sólo pasa los argumentos `props`,`propName` y `componentName`: ```javascript export default function deprecated(propType, explanation) { From 375f0ccdf7b0a62b25c9915aad287cd2f311704f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:08:45 -0500 Subject: [PATCH 20/27] Update content/warnings/dont-call-proptypes.md Co-Authored-By: jvelezpo --- content/warnings/dont-call-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 991c39432..2ae22b0ec 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -80,7 +80,7 @@ export default function deprecated(propType, explanation) { ``` In order to fix the false positive, make sure you pass **all** arguments down to the wrapped PropType. This is easy to do with the ES6 `...rest` notation: -Para corregir el falso positivo, asegúrese de pasar **todos** los argumentos al PropType envuelto. Esto es fácil de hacer con la notación ES6 `...rest`: +Para corregir el falso positivo, asegurate de pasar **todos** los argumentos al PropType envuelto. Esto es fácil de hacer con la notación ES6 `...rest`: ```javascript export default function deprecated(propType, explanation) { From 251b208d2a3dcd8f64296b5b4226f96dca494fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:09:04 -0500 Subject: [PATCH 21/27] Update content/warnings/invalid-aria-prop.md Co-Authored-By: jvelezpo --- content/warnings/invalid-aria-prop.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/warnings/invalid-aria-prop.md b/content/warnings/invalid-aria-prop.md index abc327b95..cd00b54fe 100644 --- a/content/warnings/invalid-aria-prop.md +++ b/content/warnings/invalid-aria-prop.md @@ -4,8 +4,8 @@ layout: single permalink: warnings/invalid-aria-prop.html --- -La advertencia invalid-aria-prop se activará si intenta renderizar un elemento DOM con un aria-* prop que no existe en la Iniciativa de accesibilidad web (WAI) Aplicación de Internet enriquecida accesible (ARIA) [especificación](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties). +La advertencia invalid-aria-prop se activará si intentas renderizar un elemento DOM con un aria-* prop que no existe en la Iniciativa de accesibilidad web (WAI) Aplicación de Internet enriquecida accesible (ARIA) [especificación](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties). 1. Si siente que está utilizando un prop válido, revise la ortografía cuidadosamente. `aria-labelledby` y` aria-activedescendant` a menudo están mal escritas. -2. React aún no reconoce el atributo que ha especificado. Esto probablemente se solucionará en una versión futura de React. Sin embargo, React actualmente elimina todos los atributos desconocidos, por lo que especificarlos en su aplicación React no hará que se renderizen \ No newline at end of file +2. React aún no reconoce el atributo que ha especificado. Esto probablemente se solucionará en una versión futura de React. Sin embargo, React actualmente elimina todos los atributos desconocidos, por lo que especificarlos en su aplicación React no hará que se renderizen From 1623ef415ad3ae4dc843bb27e877b4be27d61f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:09:22 -0500 Subject: [PATCH 22/27] Update content/warnings/invalid-aria-prop.md Co-Authored-By: jvelezpo --- content/warnings/invalid-aria-prop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/invalid-aria-prop.md b/content/warnings/invalid-aria-prop.md index cd00b54fe..83933f74c 100644 --- a/content/warnings/invalid-aria-prop.md +++ b/content/warnings/invalid-aria-prop.md @@ -6,6 +6,6 @@ permalink: warnings/invalid-aria-prop.html La advertencia invalid-aria-prop se activará si intentas renderizar un elemento DOM con un aria-* prop que no existe en la Iniciativa de accesibilidad web (WAI) Aplicación de Internet enriquecida accesible (ARIA) [especificación](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties). -1. Si siente que está utilizando un prop válido, revise la ortografía cuidadosamente. `aria-labelledby` y` aria-activedescendant` a menudo están mal escritas. +1. Si sientes que estás utilizando un prop válido, revisa la ortografía cuidadosamente. `aria-labelledby` y` aria-activedescendant` a menudo están mal escritas. 2. React aún no reconoce el atributo que ha especificado. Esto probablemente se solucionará en una versión futura de React. Sin embargo, React actualmente elimina todos los atributos desconocidos, por lo que especificarlos en su aplicación React no hará que se renderizen From 88b6fae5aecf5483aa4eca9c4d2e73396903d5d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:09:47 -0500 Subject: [PATCH 23/27] Update content/warnings/refs-must-have-owner.md Co-Authored-By: jvelezpo --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index 1941c05f2..7de9118a6 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -4,7 +4,7 @@ layout: single permalink: warnings/refs-must-have-owner.html --- -Probablemente esté aquí porque recibió uno de los siguientes mensajes de error: +Probablemente estés aquí porque recibió uno de los siguientes mensajes de error: *React 16.0.0+* > Advertencia: From 66ab1a5ccc834688236bc3e8b014bcc50ce2f120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20=C3=91=C3=A1=C3=B1ez=20Ortiz?= Date: Wed, 6 Feb 2019 19:11:33 -0500 Subject: [PATCH 24/27] Update content/warnings/refs-must-have-owner.md Co-Authored-By: jvelezpo --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index 7de9118a6..b5b1ba156 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -24,7 +24,7 @@ Esto usualmente significa una de tres cosas: ## Refs en los componentes de función -Si `` es un componente de función, no puede agregarle una referencia: +Si `` es un componente de función, no puedes agregarle una referencia: ```js // ¡No funciona si Foo es una función! From 9dca51b0d909d832f49ae0ef065c7a758c45f750 Mon Sep 17 00:00:00 2001 From: Juan Sebastian velez Posada Date: Wed, 6 Feb 2019 19:13:21 -0500 Subject: [PATCH 25/27] Update dont-call-proptypes.md --- content/warnings/dont-call-proptypes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/warnings/dont-call-proptypes.md b/content/warnings/dont-call-proptypes.md index 2ae22b0ec..de6b3808f 100644 --- a/content/warnings/dont-call-proptypes.md +++ b/content/warnings/dont-call-proptypes.md @@ -67,7 +67,7 @@ Aquí esta cómo solucionarlo. Usaremos `deprecated` de [react-bootstrap/react-p export default function deprecated(propType, explanation) { return function validate(props, propName, componentName) { if (props[propName] != null) { - const message = `"${propName}" propiedad de "${componentName}" ha sido desaprobado.\n${explanation}`; + const message = `"${propName}" property of "${componentName}" has been deprecated.\n${explanation}`; if (!warned[message]) { warning(false, message); warned[message] = true; @@ -86,7 +86,7 @@ Para corregir el falso positivo, asegurate de pasar **todos** los argumentos al export default function deprecated(propType, explanation) { return function validate(props, propName, componentName, ...rest) { // Nota ...rest aqui if (props[propName] != null) { - const message = `"${propName}" propiedad de "${componentName}" ha sido desaprobado.\n${explanation}`; + const message = `"${propName}" property of "${componentName}" has been deprecated.\n${explanation}`; if (!warned[message]) { warning(false, message); warned[message] = true; From b8d7f64a4f85f16ddf09508c8828f483d72aaacd Mon Sep 17 00:00:00 2001 From: Juan Sebastian velez Posada Date: Wed, 6 Feb 2019 19:14:32 -0500 Subject: [PATCH 26/27] Update invalid-aria-prop.md --- content/warnings/invalid-aria-prop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/invalid-aria-prop.md b/content/warnings/invalid-aria-prop.md index 83933f74c..c47470ba1 100644 --- a/content/warnings/invalid-aria-prop.md +++ b/content/warnings/invalid-aria-prop.md @@ -8,4 +8,4 @@ La advertencia invalid-aria-prop se activará si intentas renderizar un elemento 1. Si sientes que estás utilizando un prop válido, revisa la ortografía cuidadosamente. `aria-labelledby` y` aria-activedescendant` a menudo están mal escritas. -2. React aún no reconoce el atributo que ha especificado. Esto probablemente se solucionará en una versión futura de React. Sin embargo, React actualmente elimina todos los atributos desconocidos, por lo que especificarlos en su aplicación React no hará que se renderizen +2. React aún no reconoce el atributo que has especificado. Esto probablemente se solucionará en una versión futura de React. Sin embargo, React actualmente elimina todos los atributos desconocidos, por lo que especificarlos en su aplicación React no hará que se renderizen From 3b5fa8f1d39fb725ad099d31fbefe3c4c619dd13 Mon Sep 17 00:00:00 2001 From: Juan Sebastian velez Posada Date: Wed, 6 Feb 2019 19:15:43 -0500 Subject: [PATCH 27/27] Update refs-must-have-owner.md --- content/warnings/refs-must-have-owner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/warnings/refs-must-have-owner.md b/content/warnings/refs-must-have-owner.md index b5b1ba156..45da4ff06 100644 --- a/content/warnings/refs-must-have-owner.md +++ b/content/warnings/refs-must-have-owner.md @@ -9,7 +9,7 @@ Probablemente estés aquí porque recibió uno de los siguientes mensajes de err *React 16.0.0+* > Advertencia: > -> El elemento ref se especificó como una cadena (myRefName) pero no se estableció ningún propietario. Puede tener varias copias de React cargadas. (detalles: https://fb.me/react-refs-must-have-owner). +> Element ref was specified as a string (myRefName) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner). *versiones anteriores de React* > Advertencia: