Skip to content

Sync with reactjs.org @ 519a3aec #278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Aug 29, 2019
Merged
3 changes: 3 additions & 0 deletions content/blog/2019-08-15-new-react-devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ git clone https://github.com/facebook/react-devtools

cd react-devtools

# Checkout the previous release branch
git checkout v3

# Install dependencies and build the unpacked extension
yarn install
yarn build:extension
Expand Down
7 changes: 6 additions & 1 deletion content/community/conferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ February 27 & 28, 2020 in Sydney, Australia
### Render-Atlanta 2020 {#render-atlanta-2020}
May 4-6, 2020. Atlanta, GA, USA.

[Website](https://renderatl.com)
[Website](https://renderatl.com) - [Twitter](https://twitter.com/renderATL) - [Instagram](https://www.instagram.com/renderatl/) - [Facebook](https://www.facebook.com/renderatl/)

### React Finland 2020 {#react-finland-2020}
May 26-29 in Helsinki, Finland

[Website](https://react-finland.fi/) - [Twitter](https://twitter.com/ReactFinland)

### React Next 2020 {#react-next-2020}
June 15, 2020. Tel Aviv, Israel.
Expand Down
2 changes: 2 additions & 0 deletions content/community/courses.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ permalink: community/courses.html

## Cursos gratuitos {#free-courses}

- [Glitch: React Starter Kit](https://glitch.com/culture/react-starter-kit/) - Un curso en video gratuito en 5 partes con ejemplos de código interactivos que te ayudarán a aprender React.

- [Codecademy: React 101](https://www.codecademy.com/learn/react-101) - El curso introductorio a React de Codeacademy.

- [Egghead.io: Start Learning React](https://egghead.io/courses/start-learning-react) - Esta serie explora los fundamentos básicos de React para que empieces.
Expand Down
2 changes: 1 addition & 1 deletion content/docs/codebase-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Su código fuente está ubicado en [`packages/react-reconciler`](https://github.

### Sistema de Eventos {#event-system}

React implementa un sistema de eventos sintético que es agnóstico de los renderizadores y funciona con React DOM y React Native. Su código fuente está localizado en [`packages/events`](https://github.com/facebook/react/tree/master/packages/events).
React implementa un sistema de eventos sintético que es agnóstico de los renderizadores y funciona con React DOM y React Native. Su código fuente está localizado en [`packages/events`](https://github.com/facebook/react/tree/master/packages/react-events).

Aquí hay un [video con una muestra en profundidad del código](https://www.youtube.com/watch?v=dRo_egw7tBc) (66 mins).

Expand Down
2 changes: 1 addition & 1 deletion content/docs/render-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Un componente con una `render prop` toma una función que devuelve un elemento d
)}/>
```

Algunas bibliotecas que utilizan `render props` son [React Router](https://reacttraining.com/react-router/web/api/Route/render-func) y [Downshift](https://github.com/paypal/downshift).
Algunas bibliotecas que utilizan `render props` son [React Router](https://reacttraining.com/react-router/web/api/Route/render-func), [Downshift](https://github.com/paypal/downshift) y [Formik](https://github.com/jaredpalmer/formik).

En este documento, discutiremos por qué las `render props` son útiles y cómo escribir las tuyas.

Expand Down
3 changes: 2 additions & 1 deletion content/docs/testing-recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Common testing patterns for React components.

On this page, we will primarily use function components. However, these testing strategies don't depend on implementation details, and work just as well for class components too.

- [Setup/Teardown ](#setup--teardown)
- [Setup/Teardown](#setup--teardown)
- [`act()`](#act)
- [Rendering](#rendering)
- [Data Fetching](#data-fetching)
- [Mocking Modules](#mocking-modules)
- [Events](#events)
Expand Down
4 changes: 2 additions & 2 deletions content/docs/testing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: testing
title: Visión general de Pruebas
title: Visión general de pruebas
permalink: docs/testing.html
redirect_from:
- "community/testing.html"
Expand Down Expand Up @@ -28,7 +28,7 @@ Diferentes respuestas pueden funcionar para diferentes equipos y diferentes prod

### Herramientas recomendadas {#tools}

**[Jest](https://facebook.github.io/jest/)** Es una biblioteca de JavaScript para ejecución de pruebas que permite acceder al DOM mediante [`jsdom`](/docs/testing-environments.html#mocking-a-rendering-surface). Aunque JSDOM solo se aproxima a como realmente los navegadores web trabajan, usualmente es suficiente para probar los componentes React. Jest brinda una gran velocidad de iteración combinada con potentes funcionalidades como simular [módulos](/docs/testing-environments.html#mocking-modules) y [temporizadores](/docs/testing-environments.html#mocking-timers) esto permite tener mayor control sobre como se ejecuta el código.
**[Jest](https://facebook.github.io/jest/)** Es una biblioteca de JavaScript para ejecución de pruebas que permite acceder al DOM mediante [`jsdom`](/docs/testing-environments.html#mocking-a-rendering-surface). Aunque jsdom solo se aproxima a como realmente los navegadores web trabajan, usualmente es suficiente para probar componentes de React. Jest brinda una gran velocidad de iteración combinada con potentes funcionalidades como simular [módulos](/docs/testing-environments.html#mocking-modules) y [temporizadores](/docs/testing-environments.html#mocking-timers), esto permite tener mayor control sobre como se ejecuta el código.

**[Biblioteca de Pruebas para React](https://testing-library.com/react)** es una biblioteca de utilidades que te ayudan a probar componentes React sin depender de los detalles de su implementación. Este enfoque simplifica la refactorización y también lo empuja hacia las mejores prácticas de accesibilidad, aunque no proporciona una forma de renderizar "superficialmente" un componente sin sus hijos, Jest te permite hacerlo gracias a su funcionalidad para [simular](/docs/testing-recipes.html#mocking-modules).

Expand Down
6 changes: 5 additions & 1 deletion content/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
translated_name: हिन्दी
code: hi
status: 0
- name: Húngaro
translated_name: magyar
code: hu
status: 0
- name: Armenio
translated_name: Հայերեն
code: hy
Expand Down Expand Up @@ -174,7 +178,7 @@
- name: Vietnamita
translated_name: Tiếng Việt
code: vi
status: 0
status: 1
- name: Chino simplificado
translated_name: 简体中文
code: zh-hans
Expand Down