Skip to content

Tradução de react-labs-view-transitions-activity-and-more.md para Português (Brasil) - #1296

Open
jpfigueredo wants to merge 2 commits into
reactjs:mainfrom
jpfigueredo:traducao/blog-react-labs-view-transitions
Open

jpfigueredo wants to merge 2 commits into
reactjs:mainfrom
jpfigueredo:traducao/blog-react-labs-view-transitions

Conversation

@jpfigueredo

Copy link
Copy Markdown
Contributor

Tradução do post src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md ("React Labs: View Transitions, Activity, and more").

Padrão dos outros posts traduzidos: title e author do frontmatter mantidos; description traduzida; linha de autoria "23 de abril de 2025 por ...".

Terminologia, alinhada com reference/react/ViewTransition, Activity e addTransitionType, que já estão traduzidas:

  • Nomes de recursos mantidos em inglês: View Transitions, Activity, Transition Types, React Performance Tracks, Fragment Refs, Concurrent Stores, CodeLens, Fast Refresh.
  • cross-fade → "fade cruzado"; shared element transition → "transição de elemento compartilhado"; pre-render → "pré-renderizar"; Suspense boundary → "limite de Suspense"; ahead-of-time compilation → "compilação antecipada (ahead-of-time)"; higher-order components → "componentes de ordem superior"; "tearing" mantido.
  • Títulos em sentence case.

Código: o post tem ~14 mil linhas, quase todas de Sandpacks. Só os comentários (//, /* */ e {/* */}) foram traduzidos; identificadores, classes CSS, textos de UI e dados dos exemplos ficam em inglês. Por isso, a prosa cita "back" e "6 Videos" em inglês, igual ao que aparece no exemplo. Comentários que são só o nome do componente (/* Home */, /* Video */) ficaram como estão. Conferi por script que, fora os comentários, nenhum bloco de código mudou, e que os IDs de título e os links são idênticos ao original.

Verificado localmente: yarn lint-heading-ids e ESLint no arquivo, sem erros.

Ref. #555

@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
pt-br-legacy-reactjs-org Ignored Ignored Preview Nov 21, 2026 7:56pm UTC

Request Review

@jhonmike jhonmike left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obrigado pela tradução — está ótima: fiel, natural e completa! 🙌

⚠️ Este PR agora tem conflito com a main. O sync com o react.dev (#1290) trouxe 3 mudanças do upstream para este arquivo:

  1. Linha 11461: todos os links github.com/facebook/react viraram github.com/react/react (sugestão abaixo).
  2. Linha 14269: o upstream corrigiu "developers think" → "developers tend to think" (sugestão abaixo).
  3. Sem conflito, mas não desfaça: nos 11 blocos package.json ocultos dos Sandpacks, "canary" virou "19.3.0-canary-eb8feb71-20260814". Se você resolver pegando o arquivo inteiro do PR, essas versões voltam para canary — depois do merge, o arquivo deve ter 19.3.0-canary-eb8feb71-20260814 22 vezes.


_For more background on how we built View Transitions, see: [#31975](https://github.com/facebook/react/pull/31975), [#32105](https://github.com/facebook/react/pull/32105), [#32041](https://github.com/facebook/react/pull/32041), [#32734](https://github.com/facebook/react/pull/32734), [#32797](https://github.com/facebook/react/pull/32797) [#31999](https://github.com/facebook/react/pull/31999), [#32031](https://github.com/facebook/react/pull/32031), [#32050](https://github.com/facebook/react/pull/32050), [#32820](https://github.com/facebook/react/pull/32820), [#32029](https://github.com/facebook/react/pull/32029), [#32028](https://github.com/facebook/react/pull/32028), and [#32038](https://github.com/facebook/react/pull/32038) by [@sebmarkbage](https://twitter.com/sebmarkbage) (thanks Seb!)._
_Para saber mais sobre como construímos as View Transitions, veja: [#31975](https://github.com/facebook/react/pull/31975), [#32105](https://github.com/facebook/react/pull/32105), [#32041](https://github.com/facebook/react/pull/32041), [#32734](https://github.com/facebook/react/pull/32734), [#32797](https://github.com/facebook/react/pull/32797) [#31999](https://github.com/facebook/react/pull/31999), [#32031](https://github.com/facebook/react/pull/32031), [#32050](https://github.com/facebook/react/pull/32050), [#32820](https://github.com/facebook/react/pull/32820), [#32029](https://github.com/facebook/react/pull/32029), [#32028](https://github.com/facebook/react/pull/32028) e [#32038](https://github.com/facebook/react/pull/32038), de [@sebmarkbage](https://twitter.com/sebmarkbage) (obrigado, Seb!)._

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mantenha a tradução com os links novos do upstream:

Suggested change
_Para saber mais sobre como construímos as View Transitions, veja: [#31975](https://github.com/facebook/react/pull/31975), [#32105](https://github.com/facebook/react/pull/32105), [#32041](https://github.com/facebook/react/pull/32041), [#32734](https://github.com/facebook/react/pull/32734), [#32797](https://github.com/facebook/react/pull/32797) [#31999](https://github.com/facebook/react/pull/31999), [#32031](https://github.com/facebook/react/pull/32031), [#32050](https://github.com/facebook/react/pull/32050), [#32820](https://github.com/facebook/react/pull/32820), [#32029](https://github.com/facebook/react/pull/32029), [#32028](https://github.com/facebook/react/pull/32028) e [#32038](https://github.com/facebook/react/pull/32038), de [@sebmarkbage](https://twitter.com/sebmarkbage) (obrigado, Seb!)._
_Para saber mais sobre como construímos as View Transitions, veja: [#31975](https://github.com/react/react/pull/31975), [#32105](https://github.com/react/react/pull/32105), [#32041](https://github.com/react/react/pull/32041), [#32734](https://github.com/react/react/pull/32734), [#32797](https://github.com/react/react/pull/32797) [#31999](https://github.com/react/react/pull/31999), [#32031](https://github.com/react/react/pull/32031), [#32050](https://github.com/react/react/pull/32050), [#32820](https://github.com/react/react/pull/32820), [#32029](https://github.com/react/react/pull/32029), [#32028](https://github.com/react/react/pull/32028) e [#32038](https://github.com/react/react/pull/32038), de [@sebmarkbage](https://twitter.com/sebmarkbage) (obrigado, Seb!)._


We believe one of the reasons for confusion is that developers to think of Effects from the _component's_ perspective (like a lifecycle), instead of the _Effects_ point of view (what the Effect does).
Acreditamos que um dos motivos da confusão é que desenvolvedores pensam em Effects da perspectiva do _componente_ (como um ciclo de vida), em vez do ponto de vista do _Effect_ (o que o Effect faz).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

O upstream corrigiu para "developers tend to think":

Suggested change
Acreditamos que um dos motivos da confusão é que desenvolvedores pensam em Effects da perspectiva do _componente_ (como um ciclo de vida), em vez do ponto de vista do _Effect_ (o que o Effect faz).
Acreditamos que um dos motivos da confusão é que desenvolvedores tendem a pensar em Effects da perspectiva do _componente_ (como um ciclo de vida), em vez do ponto de vista do _Effect_ (o que o Effect faz).


We believe we’ve found an approach that works well and may introduce a new API for triggering gesture transitions. For now, we're focused on shipping `<ViewTransition>`, and will revisit gestures afterward.
Acreditamos ter encontrado uma abordagem que funciona bem e talvez introduza uma nova API para disparar transições de gestos. Por enquanto, estamos focados em lançar o `<ViewTransition>` e vamos voltar aos gestos depois.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No original, o sujeito de "may introduce" é "we" (não a abordagem):

Suggested change
Acreditamos ter encontrado uma abordagem que funciona bem e talvez introduza uma nova API para disparar transições de gestos. Por enquanto, estamos focados em lançar o `<ViewTransition>` e vamos voltar aos gestos depois.
Acreditamos ter encontrado uma abordagem que funciona bem e talvez introduzamos uma nova API para disparar transições de gestos. Por enquanto, estamos focados em lançar o `<ViewTransition>` e vamos voltar aos gestos depois.


We spent some time researching why Effects are thought of from the component perspective, and we think one of the reasons is the dependency array. Since you have to write it, it's right there and in your face reminding you of what you're "reacting" to and baiting you into the mental model of 'do this when these values change'.
Passamos um tempo pesquisando por que se pensa em Effects da perspectiva do componente, e achamos que um dos motivos é o array de dependências. Como você precisa escrevê-lo, ele fica ali, bem na sua frente, lembrando você do que está "reagindo" e induzindo ao modelo mental de 'faça isto quando estes valores mudarem'.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(menor, regência) "reagir a algo":

Suggested change
Passamos um tempo pesquisando por que se pensa em Effects da perspectiva do componente, e achamos que um dos motivos é o array de dependências. Como você precisa escrevê-lo, ele fica ali, bem na sua frente, lembrando você do que está "reagindo" e induzindo ao modelo mental de 'faça isto quando estes valores mudarem'.
Passamos um tempo pesquisando por que se pensa em Effects da perspectiva do componente, e achamos que um dos motivos é o array de dependências. Como você precisa escrevê-lo, ele fica ali, bem na sua frente, lembrando você daquilo a que está "reagindo" e induzindo ao modelo mental de 'faça isto quando estes valores mudarem'.

@jhonmike jhonmike added the needs author response Changes requested needing author's input label Nov 27, 2026

This branch was successfully deployed

1 active deployment
Preview – pt-br-react-dev — 62795c63 Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs author response Changes requested needing author's input

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants