Skip to content

Commit

Permalink
Translate of react blog post react v15.6.2 (reactjs#200)
Browse files Browse the repository at this point in the history
* translate of react blog post react v15.6.2

* Update content/blog/2017-09-25-react-v15.6.2.md

Co-Authored-By: netochaves <[email protected]>
  • Loading branch information
netochaves authored and Jhon Mike committed Apr 16, 2019
1 parent fa45e51 commit a397a57
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions content/blog/2017-09-25-react-v15.6.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,62 +3,62 @@ title: "React v15.6.2"
author: [nhunzaker]
---

Today we're sending out React 15.6.2. In 15.6.1, we shipped a few fixes for change events and inputs that had some unintended consequences. Those regressions have been ironed out, and we've also included a few more fixes to improve the stability of React across all browsers.
Hoje estamos anunciando o React 15.6.2. Na versão 15.6.1, enviamos algumas correções em eventos de alterações e entradas que causaram algumas consequências não intencionais. Essas consequências foram resolvidas, também incluímos mais algumas correções para melhorar a estabilidade do React em todos os navegadores.

Additionally, 15.6.2 adds support for the [`controlList`](https://developers.google.com/web/updates/2017/03/chrome-58-media-updates#controlslist) attribute, and CSS columns are no longer appended with a `px` suffix.
Além disso, o 15.6.2 adiciona suporte para o atributo [`controlList`](https://developers.google.com/web/updates/2017/03/chrome-58-media-updates#controlslist), e as colunas de CSS não são mais concatenadas com um sufixo `px`.

## Installation {#installation}
## Instalação {#installation}

We recommend using [Yarn](https://yarnpkg.com/) or [npm](https://www.npmjs.com/) for managing front-end dependencies. If you're new to package managers, the [Yarn documentation](https://yarnpkg.com/en/docs/getting-started) is a good place to get started.
Recomendamos utilizar o [Yarn](https://yarnpkg.com/) ou o [npm](https://www.npmjs.com/) para gerenciamento de dependências front-end. Se você é iniciante com gerenciadores de pacotes, a [Documentação do Yarn](https://yarnpkg.com/en/docs/getting-started) é um bom lugar para começar.

To install React with Yarn, run:
Para instalar o React com o Yarn, execute:

```bash
yarn add react@^15.6.2 react-dom@^15.6.2
```

To install React with npm, run:
Para instalar o React com o npm, execute:

```bash
npm install --save react@^15.6.2 react-dom@^15.6.2
```

We recommend using a bundler like [webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/) so you can write modular code and bundle it together into small packages to optimize load time.
Recomendamos utilizar um bundler como [webpack](https://webpack.js.org/) ou [Browserify](http://browserify.org/) para que você possa escrever código modular e agrupa-lo em pequenos pacotes para otimizar o tempo de carregamento.

Remember that by default, React runs extra checks and provides helpful warnings in development mode. When deploying your app, make sure to [use the production build](/docs/optimizing-performance.html#use-the-production-build).
Lembre que por padrão, o React executa verificações extras e fornece avisos úteis no modo de desenvolvimento. Quando estiver fazendo o deploy do seu app, tenha certeza que você está [utilizando o modo de produção](/docs/optimizing-performance.html#use-the-production-build).

In case you don't use a bundler, we also provide pre-built bundles in the npm packages which you can [include as script tags](/docs/installation.html#using-a-cdn) on your page:
Caso você não esteja utilizando um bundler, nós também fornecemos bundles pré-construídos nos pacotes do npm para que você possa [incluir como tags de sript](/docs/installation.html#using-a-cdn) na sua página:

* **React**<br/>
Dev build with warnings: [react/dist/react.js](https://unpkg.com/[email protected]/dist/react.js)<br/>
Minified build for production: [react/dist/react.min.js](https://unpkg.com/[email protected]/dist/react.min.js)<br/>
* **React with Add-Ons**<br/>
Dev build with warnings: [react/dist/react-with-addons.js](https://unpkg.com/[email protected]/dist/react-with-addons.js)<br/>
Minified build for production: [react/dist/react-with-addons.min.js](https://unpkg.com/[email protected]/dist/react-with-addons.min.js)<br/>
* **React DOM** (include React in the page before React DOM)<br/>
Dev build with warnings: [react-dom/dist/react-dom.js](https://unpkg.com/[email protected]/dist/react-dom.js)<br/>
Minified build for production: [react-dom/dist/react-dom.min.js](https://unpkg.com/[email protected]/dist/react-dom.min.js)<br/>
* **React DOM Server** (include React in the page before React DOM Server)<br/>
Dev build with warnings: [react-dom/dist/react-dom-server.js](https://unpkg.com/[email protected]/dist/react-dom-server.js)<br/>
Minified build for production: [react-dom/dist/react-dom-server.min.js](https://unpkg.com/[email protected]/dist/react-dom-server.min.js)<br/>

We've also published version `15.6.2` of `react` and `react-dom` on npm, and the `react` package on bower.
Build de desenvolvimento com avisos: [react/dist/react.js](https://unpkg.com/[email protected]/dist/react.js)<br/>
Build reduzida para produção: [react/dist/react.min.js](https://unpkg.com/[email protected]/dist/react.min.js)<br/>
* **React com Add-Ons**<br/>
Build de desenvolvimento com avisos: [react/dist/react-with-addons.js](https://unpkg.com/[email protected]/dist/react-with-addons.js)<br/>
Build reduzida para produção: [react/dist/react-with-addons.min.js](https://unpkg.com/[email protected]/dist/react-with-addons.min.js)<br/>
* **React DOM** (Inclua o React na página antes de incluir o React DOM)<br/>
Build de desenvolvimento com avisos: [react-dom/dist/react-dom.js](https://unpkg.com/[email protected]/dist/react-dom.js)<br/>
Build reduzida para produção: [react-dom/dist/react-dom.min.js](https://unpkg.com/[email protected]/dist/react-dom.min.js)<br/>
* **React DOM Server** (Inclua o React na página antes de incluir o React DOM Server)<br/>
Build de desenvolvimento com avisos: [react-dom/dist/react-dom-server.js](https://unpkg.com/[email protected]/dist/react-dom-server.js)<br/>
Build reduzida para produção: [react-dom/dist/react-dom-server.min.js](https://unpkg.com/[email protected]/dist/react-dom-server.min.js)<br/>

Nós também publicamos a versão `15.6.2` do `react` e do `react-dom` no npm, e o pacote `react` no bower.

---

## Changelog {#changelog}

## 15.6.2 (September 25, 2017) {#1562-september-25-2017}
## 15.6.2 (25 de setembro, 2017) {#1562-september-25-2017}

### All Packages {#all-packages}
* Switch from BSD + Patents to MIT license
### Todos os pacotes {#all-packages}
* Trocado a licença BSD + suas patentes para a licença MIT .

### React DOM {#react-dom}

* Fix a bug where modifying `document.documentMode` would trigger IE detection in other browsers, breaking change events. ([@aweary](https://github.com/aweary) in [#10032](https://github.com/facebook/react/pull/10032))
* CSS Columns are treated as unitless numbers. ([@aweary](https://github.com/aweary) in [#10115](https://github.com/facebook/react/pull/10115))
* Fix bug in QtWebKit when wrapping synthetic events in proxies. ([@walrusfruitcake](https://github.com/walrusfruitcake) in [#10115](https://github.com/facebook/react/pull/10011))
* Prevent event handlers from receiving extra argument in development. ([@aweary](https://github.com/aweary) in [#10115](https://github.com/facebook/react/pull/8363))
* Fix cases where `onChange` would not fire with `defaultChecked` on radio inputs. ([@jquense](https://github.com/jquense) in [#10156](https://github.com/facebook/react/pull/10156))
* Add support for `controlList` attribute to DOM property whitelist ([@nhunzaker](https://github.com/nhunzaker) in [#9940](https://github.com/facebook/react/pull/9940))
* Fix a bug where creating an element with a ref in a constructor did not throw an error in development. ([@iansu](https://github.com/iansu) in [#10025](https://github.com/facebook/react/pull/10025))
* Corrigido um bug onde modificando o `document.documentMode` acionaria a detectação do IE em outros navegadores, quebrando assim eventos de alteração. ([@aweary](https://github.com/aweary) em [#10032](https://github.com/facebook/react/pull/10032))
* Colunas CSS são tratadas como números sem unidade. ([@aweary](https://github.com/aweary) em [#10115](https://github.com/facebook/react/pull/10115))
* Corrigido um bug no QtWebKit ao incorporar eventos sintéticos em proxies. ([@walrusfruitcake](https://github.com/walrusfruitcake) em [#10115](https://github.com/facebook/react/pull/10011))
* Evitar que tratadores de eventos recebam argumentos extras no desenvolvimento. ([@aweary](https://github.com/aweary) em [#10115](https://github.com/facebook/react/pull/8363))
* Corrigido casos em que o `onChange` não é acionado com o `defaultChecked` em inputs do tipo radio. ([@jquense](https://github.com/jquense) em [#10156](https://github.com/facebook/react/pull/10156))
* Adicionado suporte para o atributo `controlList` na lista de permissões da propriedade DOM. ([@nhunzaker](https://github.com/nhunzaker) em [#9940](https://github.com/facebook/react/pull/9940)
* Corrigido um bug em que criando um elemento com uma referência em um construtor, não gerava um erro no desenvolvimento. ([@iansu](https://github.com/iansu) em [#10025](https://github.com/facebook/react/pull/10025))

0 comments on commit a397a57

Please sign in to comment.