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: content/docs/hello-world.md
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,29 +6,28 @@ prev: cdn-links.html
6
6
next: introducing-jsx.html
7
7
---
8
8
9
-
El ejemplo más pequeño de React se ve así:
9
+
El más pequeño de los ejemplos de React se ve así:
10
10
11
11
```js
12
12
ReactDOM.render(
13
-
<h1>Hello, world!</h1>,
13
+
<h1>Hola, mundo!</h1>,
14
14
document.getElementById('root')
15
15
);
16
16
```
17
17
18
-
It displays a heading saying "Hello, world!" on the page.
18
+
Este muestra un encabezado con el texto "Hola, mundo!" en la página.
19
19
20
20
[](codepen://hello-world)
21
21
22
-
Click the link above to open an online editor. Feel free to make some changes, and see how they affect the output. Most pages in this guide will have editable examples like this one.
22
+
Dale click al enlace de arriba para abrir un editor online. Tómate la libertad de hacer cambios, y mira cómo afectan el resultado. La mayoría de páginas en esta guía tendrán ejemplos que puedes editar en vivo como éste.
23
23
24
+
## ¿Cómo leer esta guía?
24
25
25
-
## How to Read This Guide
26
-
27
-
In this guide, we will examine the building blocks of React apps: elements and components. Once you master them, you can create complex apps from small reusable pieces.
26
+
En esta guía, examinaremos los componentes básicos de las aplicaciones React: elementos y componentes. Una vez los domines, podrás crear aplicaciones complejas a partir de pequeñas piezas reutilizables.
28
27
29
28
>Tip
30
29
>
31
-
>This guide is designed for people who prefer**learning concepts step by step**. If you prefer to learn by doing, check out our [practical tutorial](/tutorial/tutorial.html). You might find this guide and the tutorial complementary to each other.
30
+
>Esta guía está diseñada para personas que prefieren**aprender los conceptos paso a paso**. Si tu prefieres aprender haciendo, revisa nuestro [tutorial práctico](/tutorial/tutorial.html). Encontrarás que esta guía y el tutorial se complementan el uno al otro.
32
31
33
32
This is the first chapter in a step-by-step guide about main React concepts. You can find a list of all its chapters in the navigation sidebar. If you're reading this from a mobile device, you can access the navigation by pressing the button in the bottom right corner of your screen.
0 commit comments