You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,10 @@ The documentation is divided into several sections with a different tone and pur
57
57
58
58
## Translation
59
59
60
-
If you are interesting in translating `reactjs.org`, please join the Crowdin.
60
+
If you are interesting in translating `reactjs.org`, please see the current translation efforts at [isreacttranslatedyet.com](https://www.isreacttranslatedyet.com/).
If your language does not have a translation and you would like to create one, please follow the instructions at [reactjs.org Translations](https://github.com/reactjs/reactjs.org-translation#translating-reactjsorg).
- Leave code blocks untranslated. (It is usually OK to translate comments inside them.)
8
-
- Links to references (MDN, wikipedia) should go to the Spanish version.
9
-
- Use "tú" for the 2nd person singular.
7
+
## Identificadores de los títulos
10
8
11
-
# Common translations
9
+
Los títulos de las secciones tienen identificadores explícitos de la siguiente manera:
12
10
13
-
Suggestion on words and terms:
11
+
```md
12
+
## Try React {#try-react}
13
+
```
14
+
15
+
¡**NO** traduzcas estos identificadores! Se usan para la navegación y no funcionaría correctamente si se hace referencia externamente, o sea:
16
+
17
+
```md
18
+
Consulta la [sección de inicio](/getting-started#try-react) para más información.
19
+
```
20
+
21
+
✅ CORRECTO:
22
+
23
+
```md
24
+
## Prueba React {#try-react}
25
+
```
26
+
27
+
❌ INCORRECTO:
28
+
29
+
```md
30
+
## Prueba React {#prueba-react}
31
+
```
32
+
33
+
Esto hará que el enlace de arriba deje de funcionar.
34
+
35
+
## Texto en bloques de código
36
+
37
+
Deja el texto en los bloques de código sin traducir, excepto para los comentarios. Opcionalmente puedes traducir el texto en cadenas, ¡pero cuida de no traducir cadenas que hagan referencia a código!
Si un enlace externo es a un artículo en un sitio de referencias como [MDN] o [Wikipedia] y existe una versión de este artículo en español con una calidad aceptable, considera sustituir el enlace por el de esa versión.
The versions above are only meant for development, and are not suitable for production. Minified and optimized production versions of React are available at:
16
+
Las versiones anteriores son solo para el uso en desarrollo, y no son adecuadas para el uso en producción. Las versiones de React minimizadas y optimizadas para el uso en producción están disponibles en:
To load a specific version of`react`and`react-dom`, replace `16`with the version number.
23
+
Para usar una versión específica de`react`y`react-dom`, cambia el `16`con el número de versión.
24
24
25
-
### Why the `crossorigin` Attribute? {#why-the-crossorigin-attribute}
25
+
### ¿Por qué el atributo `crossorigin`? {#why-the-crossorigin-attribute}
26
26
27
-
If you serve React from a CDN, we recommend to keep the[`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute set:
27
+
Si utilizas React desde un CDN, nosotros recomendamos mantener el atributo[`crossorigin`](https://developer.mozilla.org/es/docs/Web/HTML/Atributos_de_configuracion_CORS) puesto:
28
28
29
29
```html
30
30
<scriptcrossoriginsrc="..."></script>
31
31
```
32
32
33
-
We also recommend to verify that the CDN you are using sets the`Access-Control-Allow-Origin: *` HTTP header:
33
+
También recomendamos verificar que el CDN que estás utilizando establece el encabezado HTTP`Access-Control-Allow-Origin: *`:
Copy file name to clipboardExpand all lines: content/docs/components-and-props.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ Recapitulemos lo que sucede en este ejemplo:
90
90
>
91
91
>React trata los componentes que empiezan con letras minúsculas como etiquetas del DOM. Por ejemplo, `<div />` representa una etiqueta div HTML pero `<Welcome />` representa un componente y requiere que `Welcome` esté en scope.
92
92
>
93
-
> Puedes leer mas sobre el razonamiento detras de esta convención[aquí.](/docs/jsx-in-depth.html#user-defined-components-must-be-capitalized)
93
+
> Para saber más sobre el razonamiento detrás de esta convención, puedes consultar [JSX en profundidad](/docs/jsx-in-depth.html#user-defined-components-must-be-capitalized).
94
94
95
95
## Composición de Componentes {#composing-components}
### What is the Virtual DOM? {#what-is-the-virtual-dom}
9
+
### ¿Qué es el DOM virtual? {#what-is-the-virtual-dom}
10
10
11
-
The virtual DOM (VDOM) is a programming concept where an ideal, or "virtual", representation of a UI is kept in memory and synced with the "real" DOM by a library such as ReactDOM. This process is called [reconciliation](/docs/reconciliation.html).
11
+
El DOM virtual (VDOM) es un concepto de programación donde una representación ideal o "virtual" de la IU se mantiene en memoria y en sincronía con el DOM "real", mediante una biblioteca como ReactDOM. Este proceso se conoce como [reconciliación](/docs/reconciliation.html).
12
12
13
-
This approach enables the declarative API of React: You tell React what state you want the UI to be in, and it makes sure the DOM matches that state. This abstracts out the attribute manipulation, event handling, and manual DOM updating that you would otherwise have to use to build your app.
13
+
Este enfoque hace posible la API declarativa de React: le dices a React en qué estado quieres que esté la IU, y se hará cargo de llevar el DOM a ese estado. Esto abstrae la manipulación de atributos, manejo de eventos y actualización manual del DOM que de otra manera tendrías que usar para construir tu aplicación.
14
14
15
-
Since "virtual DOM" is more of a pattern than a specific technology, people sometimes say it to mean different things. In React world, the term "virtual DOM" is usually associated with [React elements](/docs/rendering-elements.html)since they are the objects representing the user interface. React, however, also uses internal objects called "fibers" to hold additional information about the component tree. They may also be considered a part of "virtual DOM" implementation in React.
15
+
Ya que "DOM virtual" es más un patrón que una tecnología específica, las personas a veces le dan significados diferentes. En el mundo de React, el término "DOM virtual" es normalmente asociado con [elementos de React](/docs/rendering-elements.html)ya que son objetos representando la interfaz de usuario. Sin embargo, React también usa objetos internos llamados "fibers" para mantener información adicional acerca del árbol de componentes. Éstos pueden ser también considerados como parte de la implementación de "DOM virtual" de React.
16
16
17
-
### Is the Shadow DOM the same as the Virtual DOM? {#is-the-shadow-dom-the-same-as-the-virtual-dom}
17
+
### ¿Es el Shadow DOM lo mismo que el DOM virtual? {#is-the-shadow-dom-the-same-as-the-virtual-dom}
18
18
19
-
No, they are different. The Shadow DOM is a browser technology designed primarily for scoping variables and CSS in web components. The virtual DOM is a concept implemented by libraries in JavaScript on top of browser APIs.
19
+
No, son diferentes. El Shadow DOM es una tecnología de los navegadores diseñada principalmente para limitar el alcance de variables y CSS en componentes web. El DOM virtual es un concepto que implementan bibliotecas en JavaScript por encima de las APIs de los navegadores.
20
20
21
-
### What is "React Fiber"? {#what-is-react-fiber}
21
+
### ¿Qué es "React Fiber"? {#what-is-react-fiber}
22
22
23
-
Fiber is the new reconciliation engine in React 16. Its main goal is to enable incremental rendering of the virtual DOM. [Read more](https://github.com/acdlite/react-fiber-architecture).
23
+
Fiber es el nuevo motor de reconciliación en React 16. Su principal objetivo es permitir el renderizado incremental del DOM virtual. [Leer más](https://github.com/acdlite/react-fiber-architecture).
0 commit comments