Skip to content

Translates react-dom/server page. - #728

Merged
jhonmike merged 1 commit into
reactjs:mainfrom
MarceloSpessoto:react-dom-server
Nov 1, 2024
Merged

Translates react-dom/server page.#728
jhonmike merged 1 commit into
reactjs:mainfrom
MarceloSpessoto:react-dom-server

Conversation

@MarceloSpessoto

Copy link
Copy Markdown
Contributor

Translates the react-dom/server page.

@vitoroberto vitoroberto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OlΓ‘ @MarceloSpessoto, algumas sugestΓ΅es de alteraΓ§Γ£o:


The `react-dom/server` APIs let you render React components to HTML on the server. These APIs are only used on the server at the top level of your app to generate the initial HTML. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) may call them for you. Most of your components don't need to import or use them.

As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor na raiz de sua aplicaΓ§Γ£o para gerar o HTML inicial. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor na raiz de sua aplicaΓ§Γ£o para gerar o HTML inicial. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.
As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor na raiz de sua aplicaΓ§Γ£o para gerar o HTML inicial. Um [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.

## APIs de servidor para Web Streams {/*server-apis-for-web-streams*/}

These methods are only available in the environments with [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API), which includes browsers, Deno, and some modern edge runtimes:
Esses mΓ©todos estΓ£o disponΓ­veis apenas em ambientes com [Web Streams](https://developer.mozilla.org/pt-BR/docs/Web/API/Streams_API), que podem incluir navegadores, Deno, e alguns edge runtimes modernos:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Esses mΓ©todos estΓ£o disponΓ­veis apenas em ambientes com [Web Streams](https://developer.mozilla.org/pt-BR/docs/Web/API/Streams_API), que podem incluir navegadores, Deno, e alguns edge runtimes modernos:
Esses mΓ©todos estΓ£o disponΓ­veis apenas em ambientes com [Web Streams](https://developer.mozilla.org/pt-BR/docs/Web/API/Streams_API), que incluem navegadores, Deno, e alguns edge runtimes modernos:


* [`renderToString`](/reference/react-dom/server/renderToString) renders a React tree to a string.
* [`renderToStaticMarkup`](/reference/react-dom/server/renderToStaticMarkup) renders a non-interactive React tree to a string.
* [`renderToString`](/reference/react-dom/server/renderToString) renderiza a Γ‘rvore React em uma string.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
* [`renderToString`](/reference/react-dom/server/renderToString) renderiza a Γ‘rvore React em uma string.
* [`renderToString`](/reference/react-dom/server/renderToString) renderiza uma Γ‘rvore React em uma string.

</Deprecated>

* [`renderToNodeStream`](/reference/react-dom/server/renderToNodeStream) renders a React tree to a [Node.js Readable stream.](https://nodejs.org/api/stream.html#readable-streams) (Deprecated.)
* [`renderToNodeStream`](/reference/react-dom/server/renderToNodeStream) renderiza a Γ‘rvore React em um [Node.js Readable stream.](https://nodejs.org/api/stream.html#readable-streams) (Deprecado.)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
* [`renderToNodeStream`](/reference/react-dom/server/renderToNodeStream) renderiza a Γ‘rvore React em um [Node.js Readable stream.](https://nodejs.org/api/stream.html#readable-streams) (Deprecado.)
* [`renderToNodeStream`](/reference/react-dom/server/renderToNodeStream) renderiza uma Γ‘rvore React em um [Node.js Readable stream.](https://nodejs.org/api/stream.html#readable-streams) (Deprecado.)


The `react-dom/server` APIs let you render React components to HTML on the server. These APIs are only used on the server at the top level of your app to generate the initial HTML. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) may call them for you. Most of your components don't need to import or use them.

As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor na raiz de sua aplicaΓ§Γ£o para gerar o HTML inicial. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.

@thalesGog thalesGog Mar 7, 2024

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sobre a expressΓ£o em inglΓͺs, at the top level, ela pode ser traduzida como "no nΓ­vel mais alto" ou "ao mais alto nΓ­vel".

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor na raiz de sua aplicaΓ§Γ£o para gerar o HTML inicial. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.
As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor no nΓ­vel mais alto de sua aplicaΓ§Γ£o para gerar o HTML inicial. Um [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Particularmente entendo que a traduΓ§Γ£o "no nΓ­vel mais alto" faz mais sentido na grande maioria das vezes quando queremos traduzir este termo 'at the top level' para o PortuguΓͺs.


* [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) renders a React tree to a pipeable [Node.js Stream.](https://nodejs.org/api/stream.html)
* [`renderToStaticNodeStream`](/reference/react-dom/server/renderToStaticNodeStream) renders a non-interactive React tree to a [Node.js Readable Stream.](https://nodejs.org/api/stream.html#readable-streams)
* [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) renderiza uma Γ‘rvore React em um [Node.js Stream](https://nodejs.org/api/stream.html) pipeΓ‘vel.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Acredito que aqui em vez de "pipeΓ‘vel", poderia ser renderiza uma Γ‘rvore React para um objeto encadeΓ‘vel pois acho que dΓ‘ um contexto melhor na ideia de sequΓͺncia de encadeamento.


The `react-dom/server` APIs let you render React components to HTML on the server. These APIs are only used on the server at the top level of your app to generate the initial HTML. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) may call them for you. Most of your components don't need to import or use them.

As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor na raiz de sua aplicaΓ§Γ£o para gerar o HTML inicial. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor na raiz de sua aplicaΓ§Γ£o para gerar o HTML inicial. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.
As APIs `react-dom/server` permitem que vocΓͺ renderize componentes React em HTML no servidor. Essas APIs sΓ£o usadas apenas no servidor no nΓ­vel mais alto de sua aplicaΓ§Γ£o para gerar o HTML inicial. Um [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) pode chamΓ‘-los para vocΓͺ. A maioria de seus componentes nΓ£o precisa importar ou usΓ‘-los.


* [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) renders a React tree to a pipeable [Node.js Stream.](https://nodejs.org/api/stream.html)
* [`renderToStaticNodeStream`](/reference/react-dom/server/renderToStaticNodeStream) renders a non-interactive React tree to a [Node.js Readable Stream.](https://nodejs.org/api/stream.html#readable-streams)
* [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) renderiza uma Γ‘rvore React em um [Node.js Stream](https://nodejs.org/api/stream.html) pipeΓ‘vel.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
* [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) renderiza uma Γ‘rvore React em um [Node.js Stream](https://nodejs.org/api/stream.html) pipeΓ‘vel.
* [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) renderiza uma Γ‘rvore React para um objeto encadeΓ‘vel [Node.js Stream](https://nodejs.org/api/stream.html)

@jhonmike jhonmike added needs author response Changes requested needing author's input and removed needs review A pull request ready to be reviewed labels Mar 14, 2024
@vercel

vercel Bot commented Aug 30, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
pt-br-legacy-reactjs-org ⬜️ Ignored (Inspect) Visit Preview Sep 2, 2024 0:00am

Signed-off-by: Marcelo <marcelomspessoto@gmail.com>
@jhonmike jhonmike added 🌐 translated Translation is completed for this page and removed needs author response Changes requested needing author's input labels Nov 1, 2024
@jhonmike
jhonmike merged commit 329bae7 into reactjs:main Nov 1, 2024
devin-ai-integration Bot pushed a commit to WalissonRodrigo/pt-br.react.dev that referenced this pull request Jul 9, 2026
Signed-off-by: Marcelo <marcelomspessoto@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌐 translated Translation is completed for this page

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants