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
Copy file name to clipboardExpand all lines: src/content/reference/react-compiler/configuration.md
+35-36Lines changed: 35 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ title: Configuration
4
4
5
5
<Intro>
6
6
7
-
This page lists all configuration options available in React Compiler.
7
+
Esta página lista todas as opções de configuração disponíveis no React Compiler.
8
8
9
-
</Intro>
9
+
</Note>
10
10
11
11
<Note>
12
12
13
-
For most apps, the default options should work out of the box. If you have a special need, you can use these advanced options.
13
+
Para a maioria dos aplicativos, as opções padrão funcionarão imediatamente. Se você tiver uma necessidade especial, poderá usar estas opções avançadas.
14
14
15
15
</Note>
16
16
@@ -20,7 +20,7 @@ module.exports = {
20
20
plugins: [
21
21
[
22
22
'babel-plugin-react-compiler', {
23
-
//compiler options
23
+
//opções do compilador
24
24
}
25
25
]
26
26
]
@@ -29,62 +29,62 @@ module.exports = {
29
29
30
30
---
31
31
32
-
## Compilation Control {/*compilation-control*/}
32
+
## Controle de Compilação {/*compilation-control*/}
33
33
34
-
These options control *what* the compiler optimizes and *how* it selects components and hooks to compile.
34
+
Estas opções controlam *o quê* o compilador otimiza e *como* ele seleciona componentes e hooks para compilar.
35
35
36
-
*[`compilationMode`](/reference/react-compiler/compilationMode)controls the strategy for selecting functions to compile (e.g., all functions, only annotated ones, or intelligent detection).
36
+
*[`compilationMode`](/reference/react-compiler/compilationMode)controla a estratégia para selecionar funções a serem compiladas (por exemplo, todas as funções, apenas as anotadas ou detecção inteligente).
0 commit comments