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: beta/src/pages/apis/reactdom.md
+11-11
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ title: ReactDOM API
4
4
5
5
<Intro>
6
6
7
-
The ReactDOM package lets you render React components on a webpage.
7
+
O pacote ReactDOM permite renderizar componentes React em uma página da web.
8
8
9
9
</Intro>
10
10
11
-
Typically, you will use ReactDOM at the top level of your app to display your components. You will either use it directly or a [framework](/learn/start-a-new-react-project#building-with-react-and-a-framework)may do it for you. Most of your components should *not* need to import this module.
11
+
Normalmente, você usará o ReactDOM no nível superior do seu aplicativo para exibir seus componentes. Você poderá usá-lo diretamente ou um [framework](/learn/start-a-new-react-project#building-with-react-and-a-framework)poderá fazer isso para você. A maioria de seus componentes não deve precisar importar este módulo.
12
12
13
-
## Installation {/*installation*/}
13
+
## Instalação {/*installation*/}
14
14
15
15
<PackageImport>
16
16
@@ -21,31 +21,31 @@ npm install react-dom
21
21
</TerminalBlock>
22
22
23
23
```js
24
-
//Importing a specific API:
24
+
//Importando uma API específica:
25
25
import { render } from'react-dom';
26
26
27
-
//Importing all APIs together:
27
+
//Importando todas as APIs juntas:
28
28
import*asReactDOMfrom'react';
29
29
```
30
30
31
31
</PackageImport>
32
32
33
-
You'll also need to install the same version of[React](/api/).
33
+
Você também precisará instalar a mesma versão do[React](/api/).
34
34
35
-
## Browser Support {/*browser-support*/}
35
+
## Suporte dos navegadores {/*browser-support*/}
36
36
37
-
ReactDOM supports all popular browsers, including Internet Explorer 9 and above. [Some polyfills are required](http://todo%20link%20to%20js%20environment%20requirements/)for older browsers such as IE 9 and IE 10.
37
+
O ReactDOM suporta todos os navegadores populares, incluindo o Internet Explorer 9 e superiores. [Alguns polyfills são obrigatórios](http://todo%20link%20to%20js%20environment%20requirements/)para navegadores mais antigos como o IE 9 e IE 10.
0 commit comments