Repository navigation
Tradução de react-labs-view-transitions-activity-and-more.md para Português (Brasil) - #1296
Open
jpfigueredo wants to merge 2 commits into
Open
jpfigueredo wants to merge 2 commits into
jpfigueredo wants to merge 2 commits into
Conversation
…ortuguês (Brasil)
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
jpfigueredo
marked this pull request as ready for review
November 21, 2026 21:24
jhonmike
requested changes
Nov 27, 2026
jhonmike
left a comment
Member
There was a problem hiding this comment.
Obrigado pela tradução — está ótima: fiel, natural e completa! 🙌
main. O sync com o react.dev (#1290) trouxe 3 mudanças do upstream para este arquivo:
- Linha 11461: todos os links
github.com/facebook/reactviraramgithub.com/react/react(sugestão abaixo). - Linha 14269: o upstream corrigiu "developers think" → "developers tend to think" (sugestão abaixo).
- Sem conflito, mas não desfaça: nos 11 blocos
package.jsonocultos dos Sandpacks,"canary"virou"19.3.0-canary-eb8feb71-20260814". Se você resolver pegando o arquivo inteiro do PR, essas versões voltam paracanary— depois do merge, o arquivo deve ter19.3.0-canary-eb8feb71-2026081422 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!)._ |
Member
There was a problem hiding this comment.
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). |
Member
There was a problem hiding this comment.
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. |
Member
There was a problem hiding this comment.
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'. |
Member
There was a problem hiding this comment.
(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'. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
titleeauthordo frontmatter mantidos;descriptiontraduzida; linha de autoria "23 de abril de 2025 por ...".Terminologia, alinhada com
reference/react/ViewTransition,ActivityeaddTransitionType, que já estão traduzidas: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-idse ESLint no arquivo, sem erros.Ref. #555