From f3ccfe0e082b7f9565b805c12ec77a9ac35f04ca Mon Sep 17 00:00:00 2001 From: Gabriel Henrique Date: Mon, 22 Jul 2024 14:35:05 -0300 Subject: [PATCH] =?UTF-8?q?traduzindo=20a=20parte=20de=20defini=C3=A7?= =?UTF-8?q?=C3=A3o=20e=20referencia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content/reference/react/StrictMode.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/content/reference/react/StrictMode.md b/src/content/reference/react/StrictMode.md index 92c6ba63a..ef0416348 100644 --- a/src/content/reference/react/StrictMode.md +++ b/src/content/reference/react/StrictMode.md @@ -5,7 +5,7 @@ title: -`` lets you find common bugs in your components early during development. +`` permite que você encontre bugs comuns em seus componentes no início de desenvolvimento. ```js @@ -20,11 +20,11 @@ title: --- -## Reference {/*reference*/} +## Referência {/*reference*/} ### `` {/*strictmode*/} -Use `StrictMode` to enable additional development behaviors and warnings for the component tree inside: +Use `StrictMode` para habilitar comportamentos e avisos adicionais de desenvolvimento para o componente da árvore de dentro: ```js import { StrictMode } from 'react'; @@ -38,17 +38,17 @@ root.render( ); ``` -[See more examples below.](#usage) +[Veja mais exemplos abaixo.](#usage) -Strict Mode enables the following development-only behaviors: +Strict Mode habilita o seguimento de comportamentos somente de desenvolvimento: -- Your components will [re-render an extra time](#fixing-bugs-found-by-double-rendering-in-development) to find bugs caused by impure rendering. -- Your components will [re-run Effects an extra time](#fixing-bugs-found-by-re-running-effects-in-development) to find bugs caused by missing Effect cleanup. -- Your components will [be checked for usage of deprecated APIs.](#fixing-deprecation-warnings-enabled-by-strict-mode) +- Seus componentes vão [renderizar novamente um tempo extra](#fixing-bugs-found-by-double-rendering-in-development) para encontrar bugs causados por renderizações impuras. +- Seus componentes vão [executar efeitos novamente em um tempo extra](#fixing-bugs-found-by-re-running-effects-in-development) para encontrar bugs causados por falta de limpeza de efeito. +- Seus componentes vão [ser checados pelo uso de APIs descontinuadas.](#fixing-deprecation-warnings-enabled-by-strict-mode) #### Props {/*props*/} -`StrictMode` accepts no props. +`StrictMode` não aceita props. #### Caveats {/*caveats*/}