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
{{ message }}
Repository navigation
Commit 816f5bc
Browse filesBrowse the repository at this point in the historyBrowse files
docs: traduz conteúdo novo do sync com react.dev @ 46a54e0
Traduz para pt-BR o conteúdo em inglês trazido pelo sync fora dos
blocos de conflito:
- Páginas novas: blog React 19.3, browser, requestFormReset, <img>,
React DevTools para agentes
- Seções novas em use, Fragment, form, useFormStatus, Suspense,
useActionState, hydrateRoot, createRoot, prerender,
prerenderToNodeStream e react-dom/index
- Comunidade: team, index e changelog do React 19 em versions
Copy file name to clipboardExpand all lines: src/content/community/index.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,16 @@ Antes de participar das comunidades do React, [leia nosso Código de Conduta.](h
16
16
17
17
Stack Overflow é um fórum popular para fazer perguntas sobre código ou para caso você esteja travado em um erro específico. Leia as [perguntas existentes](https://stackoverflow.com/questions/tagged/reactjs) marcadas com **reactjs** ou [faça a sua](https://stackoverflow.com/questions/ask?tags=reactjs)!
18
18
19
-
## Popular Discussion Forums {/*popular-discussion-forums*/}
19
+
## Fóruns de Discussão Populares {/*popular-discussion-forums*/}
20
20
21
-
There are many online forums which are a great place for discussion about best practices and application architecture as well as the future of React. If you have an answerable code-level question, Stack Overflow is usually a better fit.
21
+
Existem muitos fóruns online que são ótimos lugares para discutir boas práticas e arquitetura de aplicações, assim como o futuro do React. Se você tiver uma pergunta objetiva sobre código, o Stack Overflow geralmente é a melhor opção.
22
22
23
-
Each community consists of many thousands of React users.
23
+
Cada comunidade é formada por muitos milhares de usuários de React.
Copy file name to clipboardExpand all lines: src/content/community/team.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ O desenvolvimento do React é liderado por colaboradores de empresas e comunidad
8
8
9
9
</Intro>
10
10
11
-
React work is organized into working groups, each responsible for an area of the project such as Server, DOM, Fiber, Docs & Community, Compiler, DevX, and React Native. Each working group is represented on the React Leadership Council, which coordinates direction across the project.
11
+
O trabalho no React é organizado em grupos de trabalho, cada um responsável por uma área do projeto, como Server, DOM, Fiber, Docs & Community, Compiler, DevX e React Native. Cada grupo de trabalho é representado no Conselho de Liderança do React (React Leadership Council), que coordena a direção de todo o projeto.
12
12
13
13
## Conselho de Liderança {/*leadership-council*/}
14
14
@@ -115,14 +115,14 @@ React work is organized into working groups, each responsible for an area of the
115
115
</TeamMember>
116
116
117
117
<TeamMembername="Jimmy Lai"permalink="jimmy-lai"photo="/images/team/jimmy-lai.jpg"github="feedthejim"title="Engineering Director, Next.js at Vercel">
118
-
Like many others, Jimmy started programming with the hopes of being able to work in the gaming industry. Fast forward a few years, he somehow decided that React and JavaScript were pretty fun and that helping other developers build fast experiences was a more interesting life goal. After starting his career at Meta, working on product infrastructure and (briefly) on React Native, Jimmy now works at Vercel, where he helps his team build Next.js. He sadly does not get much time for video games anymore.
118
+
Como muitos outros, Jimmy começou a programar na esperança de conseguir trabalhar na indústria de games. Alguns anos depois, ele de alguma forma decidiu que React e JavaScript eram bem divertidos e que ajudar outros desenvolvedores a construir experiências rápidas era um objetivo de vida mais interessante. Depois de começar sua carreira na Meta, trabalhando em infraestrutura de produto e (brevemente) no React Native, Jimmy agora trabalha na Vercel, onde ajuda sua equipe a construir o Next.js. Infelizmente, ele não tem mais muito tempo para videogames.
119
119
</TeamMember>
120
120
121
121
<TeamMembername="Seth Webster"permalink="seth-webster"photo="/images/team/seth.jpg"github="sethwebster"twitter="sethwebster"threads="sethwebster"personal="sethwebster.com"title="Executive Director, React Foundation, Chief Developer Evangelist at Expo">
122
-
Seth started programming as a kid growing up in Tucson, AZ. After school, he was bitten by the music bug and was a touring musician for about 10 years before returning to *work*, starting with Intuit. In his spare time, he loves [taking pictures](https://www.sethwebster.com) and flying for animal rescues in the northeastern United States.
122
+
Seth começou a programar quando criança crescendo em Tucson, AZ. Depois da escola, ele foi picado pelo vírus da música e foi um músico em turnê por cerca de 10 anos antes de retornar ao *trabalho*, começando com a Intuit. Em seu tempo livre, ele adora [tirar fotos](https://www.sethwebster.com) e voar para resgates de animais no nordeste dos Estados Unidos.
123
123
</TeamMember>
124
124
125
-
## Emeritus {/*emeritus*/}
125
+
## Eméritos {/*emeritus*/}
126
126
127
127
<TeamMembername="Joe Savona"permalink="joe-savona"photo="/images/team/joe.jpg"github="josephsavona"twitter="en_JS"threads="joesavona"title="Engineer at Meta">
128
128
Joe planejava se formar em matemática e filosofia, mas entrou na ciência da computação depois de escrever simulações de física no Matlab. Antes do React, ele trabalhou no Relay, RSocket.js e na linguagem de programação Skip. Embora ele não esteja construindo algum tipo de sistema reativo, ele gosta de correr, estudar japonês e passar tempo com sua família.
Copy file name to clipboardExpand all lines: src/content/learn/describing-the-ui.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -532,7 +532,7 @@ React uses trees to model the relationships between components and modules.
532
532
533
533
A React render tree is a representation of the parent and child relationship between components.
534
534
535
-
<Diagramname="generic_render_tree"height={250}width={500}alt="A tree graph with five nodes, with each node representing a component. The root node is located at the top of the tree graph and is labelled 'Root Component'. It has two arrows extending down to two nodes labelled 'Component A' and 'Component C'. Each of the arrows is labelled with 'renders'. 'Component A' has a single 'renders' arrow to a node labelled 'Component B'. 'Component C' has a single 'renders' arrow to a node labelled 'Component D'.">
535
+
<Diagramname="generic_render_tree"height={250}width={500}alt="Um gráfico em árvore com cinco nós, em que cada nó representa um componente. O nó raiz está localizado no topo do gráfico em árvore e é rotulado 'Root Component'. Ele tem duas setas que descem até dois nós rotulados 'Component A' e 'Component C'. Cada uma das setas é rotulada com 'renders'. 'Component A' tem uma única seta 'renders' para um nó rotulado 'Component B'. 'Component C' tem uma única seta 'renders' para um nó rotulado 'Component D'.">
Copy file name to clipboardExpand all lines: src/content/learn/extracting-state-logic-into-a-reducer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -874,7 +874,7 @@ Reducers are not without downsides! Here's a few ways you can compare them:
874
874
-**Testing:** A reducer is a pure function that doesn't depend on your component. This means that you can export and test it separately in isolation. While generally it's best to test components in a more realistic environment, for complex state update logic it can be useful to assert that your reducer returns a particular state for a particular initial state and action.
875
875
-**Personal preference:** Some people like reducers, others don't. That's okay. It's a matter of preference. You can always convert between `useState` and `useReducer` back and forth: they are equivalent!
876
876
877
-
We recommend using a reducer if you often encounter bugs due to incorrect state updates in some component, and want to introduce more structure to its code. You don't have to use reducers for everything: feel free to mix and match! You can even use`useState`and`useReducer`in the same component.
877
+
Recomendamos usar um reducer se você frequentemente encontra erros causados por atualizações de estado incorretas em algum componente e quer introduzir mais estrutura ao código dele. Você não precisa usar reducers para tudo: sinta-se à vontade para combinar as abordagens! Você pode até usar`useState`e`useReducer`no mesmo componente.
878
878
879
879
## Writing reducers well {/*writing-reducers-well*/}
0 commit comments