|
1 | 1 | ---
|
2 |
| -title: "Introducing the New React DevTools" |
| 2 | +title: "Apresentando o novo React DevTools" |
3 | 3 | author: [bvaughn]
|
4 | 4 | ---
|
5 |
| -We are excited to announce a new release of the React Developer Tools, available today in Chrome, Firefox, and (Chromium) Edge! |
| 5 | +Nós estamos animados em anunciar uma nova versão do React Developer Tools, disponível hoje para Chrome, Firefox e (Chromium) Edge! |
6 | 6 |
|
7 |
| -## What's changed? |
| 7 | +## O que mudou? |
8 | 8 |
|
9 |
| -A lot has changed in version 4! |
10 |
| -At a high level, this new version should offer significant performance gains and an improved navigation experience. |
11 |
| -It also offers full support for React Hooks, including inspecting nested objects. |
| 9 | +Muito mudou na versão 4! |
| 10 | +Resumidamente, esta nova versão deve oferecer ganhos significantes de performance e uma experiência de navegação melhorada. |
| 11 | +Ela também oferece suporte completo para React Hooks, incluindo a possibilidade de inspecionar objetos aninhados. |
12 | 12 |
|
13 |
| - |
| 13 | + |
14 | 14 |
|
15 |
| -[Visit the interactive tutorial](https://react-devtools-tutorial.now.sh/) to try out the new version or [see the changelog](https://github.com/facebook/react/blob/master/packages/react-devtools/CHANGELOG.md#400-august-15-2019) for demo videos and more details. |
| 15 | +[Visite o tutorial interativo](https://react-devtools-tutorial.now.sh/) para testar a nova versão ou [veja o changelog](https://github.com/facebook/react/blob/master/packages/react-devtools/CHANGELOG.md#400-august-15-2019) para vídeos de demonstração e mais detalhes. |
16 | 16 |
|
17 |
| -## Which versions of React are supported? |
| 17 | +## Quais versões do React são suportadas? |
18 | 18 |
|
19 | 19 | **`react-dom`**
|
20 | 20 |
|
21 |
| -* `0`-`14.x`: Not supported |
22 |
| -* `15.x`: Supported (except for the new component filters feature) |
23 |
| -* `16.x`: Supported |
| 21 | +* `0`-`14.x`: Não suportada |
| 22 | +* `15.x`: Suportada (exceto para a nova funcionalidade de filtro de componentes) |
| 23 | +* `16.x`: Suportada |
24 | 24 |
|
25 | 25 | **`react-native`**
|
26 |
| -* `0`-`0.61`: Not supported |
27 |
| -* `0.62`: Will be supported (when 0.62 is released) |
| 26 | +* `0`-`0.61`: Não suportada |
| 27 | +* `0.62`: Será suportada (quando a versão 0.62 for lançada) |
28 | 28 |
|
29 |
| -## How do I get the new DevTools? |
| 29 | +## Como eu consigo o novo DevTools? |
30 | 30 |
|
31 |
| -React DevTools is available as an extension for [Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) and [Firefox](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/). |
32 |
| -If you have already installed the extension, it should update automatically within the next couple of hours. |
| 31 | +O React DevTools está disponível como uma extensão para [Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) e [Firefox](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/). |
| 32 | +Se você já instalou a extensão, ela deve atualizar automaticamente nas próximas horas. |
33 | 33 |
|
34 |
| -If you use the standalone shell (e.g. in React Native or Safari), you can install the new version [from NPM](https://www.npmjs.com/package/react-devtools): |
| 34 | +Se você usa a versão independente (por exemplo, no React Native ou Safari), você pode instalar a nova versão [a partir do NPM](https://www.npmjs.com/package/react-devtools): |
35 | 35 |
|
36 | 36 | ```shell
|
37 | 37 | npm install -g react-devtools@^4
|
38 | 38 | ```
|
39 | 39 |
|
40 |
| -## Where did all of the DOM elements go? |
| 40 | +## Para onde foram todos os elementos do DOM? |
41 | 41 |
|
42 |
| -The new DevTools provides a way to filter components from the tree to make it easier to navigate deeply nested hierarchies. |
43 |
| -Host nodes (e.g. HTML `<div>`, React Native `<View>`) are *hidden by default*, but this filter can be disabled: |
| 42 | +O novo DevTools provê uma maneira de filtrar os componentes da árvore para facilitar a navegação de hierarquias profundamente aninhadas. |
| 43 | +Host nodes (por exemplo, HTML `<div>`, React Native `<View>`) são *escondidos por padrão*, mas este filtro pode ser desabilitado: |
44 | 44 |
|
45 |
| - |
| 45 | + |
46 | 46 |
|
47 |
| -## How do I get the old version back? |
| 47 | +## Como eu volto para a versão antiga? |
48 | 48 |
|
49 |
| -If you are working with React Native version 60 (or older) you can install the previous release of DevTools from NPM: |
| 49 | +Se você está trabalhando com React Native na versão 60 (ou anterior), você pode instalar a versão anterior do DevTools a partir do NPM: |
50 | 50 |
|
51 | 51 | ```shell
|
52 | 52 | npm install --dev react-devtools@^3
|
53 | 53 | ```
|
54 | 54 |
|
55 |
| -For older versions of React DOM (v0.14 or earlier) you will need to build the extension from source: |
| 55 | +Para versões anteriores do React DOM (v0.14 ou anterior) você precisará fazer o build da extensão a partir do código fonte: |
56 | 56 |
|
57 | 57 | ```shell
|
58 |
| -# Checkout the extension source |
| 58 | +# Faça checkout do código da extensão |
59 | 59 | git clone https://github.com/facebook/react-devtools
|
60 | 60 |
|
61 | 61 | cd react-devtools
|
62 | 62 |
|
63 |
| -# Checkout the previous release branch |
| 63 | +# Faça checkout do branch da versão anterior |
64 | 64 | git checkout v3
|
65 | 65 |
|
66 |
| -# Install dependencies and build the unpacked extension |
| 66 | +# Instale as dependências e faça o build da extensão descompactada |
67 | 67 | yarn install
|
68 | 68 | yarn build:extension
|
69 | 69 |
|
70 |
| -# Follow the on-screen instructions to complete installation |
| 70 | +# Siga as instruções da tela para finalizar a instalação |
71 | 71 | ```
|
72 | 72 |
|
73 |
| -## Thank you! |
| 73 | +## Muito obrigado! |
74 | 74 |
|
75 |
| -We'd like to thank everyone who tested the early release of DevTools version 4. |
76 |
| -Your feedback helped improve this initial release significantly. |
| 75 | +Nós gostaríamos de agradecer quem testou a versão antecipada do DevTools versão 4. |
| 76 | +Seus feedbacks ajudaram a melhorar significativamente a versão inicial. |
77 | 77 |
|
78 |
| -We still have many exciting features planned and feedback is always welcome! |
79 |
| -Please feel free to open a [GitHub issue](https://github.com/facebook/react/issues/new?labels=Component:%20Developer%20Tools) or tag [@reactjs on Twitter](https://twitter.com/reactjs). |
| 78 | +Nós ainda temos muitas funcionalidades excitantes planejadas e feedbacks são muito bem-vindos! |
| 79 | +Sinta-se a vontada para abrir uma [issue no GitHub](https://github.com/facebook/react/issues/new?labels=Component:%20Developer%20Tools) ou marcar [@reactjs no Twitter](https://twitter.com/reactjs). |
0 commit comments