Skip to content

Commit ee8bbc1

Browse files
authored
Merge pull request #917 from reactjs/sync-93177e6c
Sync with react.dev @ 93177e6
2 parents 79242fe + 6b7f208 commit ee8bbc1

25 files changed

+212
-123
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Ignora esta regla si estás describiendo específicamente una propuesta experime
7979
- Utiliza punto y coma.
8080
- No dejes espacio entre los nombres de las funciones y los paréntesis (`method() {}` no `method () {}`).
8181
- En caso de duda, utiliza el estilo por defecto preferido por [Prettier](https://prettier.io/playground/).
82+
- Siempre utiliza mayúsculas para conceptos de React como Hooks, Efectos y Transiciones.
8283

8384
### Resaltar
8485

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"webpack-bundle-analyzer": "^4.5.0"
9898
},
9999
"engines": {
100-
"node": "^16.8.0 || ^18.0.0 || ^19.0.0 || ^20.0.0"
100+
"node": "^16.8.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0"
101101
},
102102
"nextBundleAnalysis": {
103103
"budget": null,

public/images/team/jack-pope.jpg

588 KB
Loading

src/components/MDX/TeamMember.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function TeamMember({
6868
<ExternalLink
6969
aria-label="React on Twitter"
7070
href={`https://twitter.com/${twitter}`}
71-
className="hover:text-primary dark:text-primary-dark flex flex-row items-center">
71+
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
7272
<IconTwitter className="pe-1" />
7373
{twitter}
7474
</ExternalLink>
@@ -90,7 +90,7 @@ export function TeamMember({
9090
<ExternalLink
9191
aria-label="GitHub Profile"
9292
href={`https://github.com/${github}`}
93-
className="hover:text-primary dark:text-primary-dark flex flex-row items-center">
93+
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
9494
<IconGitHub className="pe-1" /> {github}
9595
</ExternalLink>
9696
</div>
@@ -99,7 +99,7 @@ export function TeamMember({
9999
<ExternalLink
100100
aria-label="Personal Site"
101101
href={`https://${personal}`}
102-
className="hover:text-primary dark:text-primary-dark flex flex-row items-center">
102+
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
103103
<IconLink className="pe-1" /> {personal}
104104
</ExternalLink>
105105
)}

src/content/community/acknowledgements.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Nos gustaría reconocer a algunas personas que han hecho contribuciones signific
1616
* [Andreas Svensson](https://github.com/syranide)
1717
* [Alex Krolick](https://github.com/alexkrolick)
1818
* [Alexey Pyltsyn](https://github.com/lex111)
19+
* [Andrey Lunyov](https://github.com/alunyov)
1920
* [Brandon Dail](https://github.com/aweary)
2021
* [Brian Vaughn](https://github.com/bvaughn)
2122
* [Caleb Meredith](https://github.com/calebmer)

src/content/community/team.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ Engineer at Meta
1818
Andrew comenzó con el desarrollo web creando sitios con WordPress, y y finalmente se engañó a sí mismo para hacer JavaScript. Su pasatiempo favorito es el karaoke. Andrew es un villano o una princesa de Disney, según el día.
1919
</TeamMember>
2020

21-
<TeamMember name="Andrey Lunyov" permalink="andrey-lunyov" photo="/images/team/andrey-lunyov.jpg" github="alunyov" twitter="alunyov" threads="alunyov" title="Ingeniero en Meta">
22-
Andrey comenzó su carrera como diseñador y luego pasó gradualmente al desarrollo web. Después de unirse al equipo de React Data en Meta, trabajó para agregar un compilador de JavaScript incremental a Relay y, más tarde, trabajó para eliminar el mismo compilador de Relay. Fuera del trabajo, a Andrey le gusta tocar música y practicar varios deportes.
23-
</TeamMember>
24-
2521
<TeamMember name="Dan Abramov" permalink="dan-abramov" photo="/images/team/gaearon.jpg" github="gaearon" twitter="dan_abramov2" title="Ingeniero independiente">
2622
Dan comenzó a programar después de que accidentalmente descubrió Visual Basic dentro de Microsoft PowerPoint. Ha encontrado su verdadera vocación al convertir los tweets de [Sebastian](#sebastian-markbåge) en extensas publicaciones de blog. Dan gana ocasionalmente en Fortnite escondiéndose en un arbusto hasta que termina el juego.
2723
</TeamMember>
@@ -30,6 +26,10 @@ Engineer at Meta
3026
Eli se metió en la programación después de que lo suspendieran de la escuela secundaria por piratear. Lleva trabajando en React y React Native desde 2017. Le gusta comer cosas ricas, especialmente helado y tarta de manzana. Puedes encontrar a Eli probando actividades extravagantes como parkour, paracaidismo en interiores y acrobacia en tela.
3127
</TeamMember>
3228

29+
<TeamMember name="Jack Pope" permalink="jack-pope" photo="/images/team/jack-pope.jpg" github="jackpope" personal="jackpope.me" title="Ingeniero en Meta">
30+
Poco después de aprender AutoHotkey, Jack empezó a escribir scripts para automatizar todo lo que se le pasara por la mente. Cuando alcanzó limitaciones allí, se sumergió de lleno en el desarrollo de aplicaciones web y no ha mirado hacia atrás. Más recientemente, Jack trabajó en la plataforma web de Instagram antes de pasar a React. Su lenguaje de programación favorito es JSX.
31+
</TeamMember>
32+
3333
<TeamMember name="Jason Bonta" permalink="jason-bonta" photo="/images/team/jasonbonta.jpg" threads="someextent" title="Gerente de ingeniería en Meta">
3434
A Jason le gusta recibir grandes cantidades de paquetes de Amazon en la oficina para poder construir fuertes. A pesar de que a veces se aísla literalmente de su equipo y no entiende cómo funcionan los bucles de for-of, le apreciamos por las cualidades únicas que aporta a su trabajo.
3535
</TeamMember>
@@ -74,7 +74,7 @@ Engineer at Meta
7474
Sebastian se especializó en psicología. Suele ser callado. Incluso, cuando dice algo, a menudo no tiene sentido para el resto de nosotros hasta unos meses después. La forma correcta de pronunciar su apellido es "mark-boa-geh", pero se ha decantado por "mark-beige" por pragmatismo, y así es como se acerca a React.
7575
</TeamMember>
7676

77-
<TeamMember name="Sebastian Silbermann" permalink="sebastian-silbermann" photo="/images/team/sebsilbermann.jpg" github="eps1lon" twitter="sebsilbermann" threads="sebsilbermann" title="Ingeniero Independiente">
77+
<TeamMember name="Sebastian Silbermann" permalink="sebastian-silbermann" photo="/images/team/sebsilbermann.jpg" github="eps1lon" twitter="sebsilbermann" threads="sebsilbermann" title="Ingeniero en Vercel">
7878
Sebastian aprendió a programar para hacer más divertidos los juegos de navegador a los que jugaba en clase. Con el tiempo, esto le llevó a contribuir a la mayor cantidad de código abierto posible. Fuera de la programación, está ocupado asegurándose de que la gente no lo confunda con los otros Sebastian y Zilberman de la comunidad React.
7979
</TeamMember>
8080

src/content/learn/manipulating-the-dom-with-refs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ En general, [no quieres](/learn/referencing-values-with-refs#best-practices-for-
494494

495495
React establece `ref.current` durante la confirmación. Antes de actualizar el DOM, React establece los valores afectados de `ref.current` a `null`. Después de actualizar el DOM, React inmediatamente los establece en los nodos DOM correspondientes.
496496

497-
**Generalmente, vas a acceder a las refs desde los controladores de eventos.** Si quieres hacer algo con una ref, pero no hay un evento en particular para hacerlo, es posible que necesites un Efecto. Discutiremos los efectos en las próximas páginas.
497+
**Generalmente, vas a acceder a las refs desde los controladores de eventos.** Si quieres hacer algo con una ref, pero no hay un evento en particular para hacerlo, es posible que necesites un Efecto. Discutiremos los Efectos en las próximas páginas.
498498

499499
<DeepDive>
500500

src/content/reference/react-dom/hydrate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Esto solo funciona a un nivel de profundidad, y pretende ser una escotilla de es
152152
153153
### Manejar contenido diferente entre el cliente y el servidor {/*handling-different-client-and-server-content*/}
154154
155-
Si intencionalmente necesitas renderizar algo distinto en el servidor y el cliente, puedes hacer un renderizado en dos pasos. Los componentes que renderizan algo diferente en el cliente pueden leer una [variable de estado](/reference/react/useState) como `isClient`, que puedes establecer en `true` en un [efecto](/reference/react/useEffect):
155+
Si intencionalmente necesitas renderizar algo distinto en el servidor y el cliente, puedes hacer un renderizado en dos pasos. Los componentes que renderizan algo diferente en el cliente pueden leer una [variable de estado](/reference/react/useState) como `isClient`, que puedes establecer en `true` en un [Efecto](/reference/react/useEffect):
156156
157157
<Sandpack>
158158

src/content/reference/react-dom/preconnect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The `preconnect` function provides the browser with a hint that it should open a
5555
#### Caveats {/*caveats*/}
5656

5757
* Multiple calls to `preconnect` with the same server have the same effect as a single call.
58-
* In the browser, you can call `preconnect` in any situation: while rendering a component, in an effect, in an event handler, and so on.
58+
* In the browser, you can call `preconnect` in any situation: while rendering a component, in an Effect, in an event handler, and so on.
5959
* In server-side rendering or when rendering Server Components, `preconnect` only has an effect if you call it while rendering a component or in an async context originating from rendering a component. Any other calls will be ignored.
6060
* If you know the specific resources you'll need, you can call [other functions](/reference/react-dom/#resource-preloading-apis) instead that will start loading the resources right away.
6161
* There is no benefit to preconnecting to the same server the webpage itself is hosted from because it's already been connected to by the time the hint would be given.

src/content/reference/react-dom/prefetchDNS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The prefetchDNS function provides the browser with a hint that it should look up
5454
#### Caveats {/*caveats*/}
5555

5656
* Multiple calls to `prefetchDNS` with the same server have the same effect as a single call.
57-
* In the browser, you can call `prefetchDNS` in any situation: while rendering a component, in an effect, in an event handler, and so on.
57+
* In the browser, you can call `prefetchDNS` in any situation: while rendering a component, in an Effect, in an event handler, and so on.
5858
* In server-side rendering or when rendering Server Components, `prefetchDNS` only has an effect if you call it while rendering a component or in an async context originating from rendering a component. Any other calls will be ignored.
5959
* If you know the specific resources you'll need, you can call [other functions](/reference/react-dom/#resource-preloading-apis) instead that will start loading the resources right away.
6060
* There is no benefit to prefetching the same server the webpage itself is hosted from because it's already been looked up by the time the hint would be given.

0 commit comments

Comments
 (0)