Uh oh!
There was an error while loading. Please reload this page.
Translate Typechecking with Proptypes page - #17
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
glaucia86
left a comment
There was a problem hiding this comment.
@lucasdeassis algumas alterações a serem feitas.
Quando terminar colocar como 'Resolve Conversation' que analisaremos novamente as alterações e logo aprovação da sua contribuição. Muito obrigada.
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: lucasdeassis <lucasassis413@gmail.com>
Co-Authored-By: lucasdeassis <lucasassis413@gmail.com>
glaucia86
left a comment
There was a problem hiding this comment.
LGTM 👍
@cezaraugusto@fjoshuajr could you please see if it's okay?
cezaraugusto
left a comment
There was a problem hiding this comment.
thanks @lucasdeassis looks good overall. left some comments
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cezaraugusto
left a comment
There was a problem hiding this comment.
LGTM thanks @lucasdeassis!
Uh oh!
There was an error while loading. Please reload this page.
| ### Valores Default de Props {#default-prop-values} | ||
| You can define default values for your `props` by assigning to the special `defaultProps` property: | ||
| Você pode definir valores default para suas `props` através da atribuição à propriedade especial `defaultProps`: |
There was a problem hiding this comment.
| Você pode definir valores default para suas `props`através da atribuição à propriedade especial `defaultProps`: | |
| Você pode definir valores default para suas `props`atribuindo-os à propriedade especial `defaultProps`: |
A little bit more concise.
| > Nós fornecemos [um script de codemod](/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes) para automatizar a conversão. | ||
| As your app grows, you can catch a lot of bugs with typechecking. For some applications, you can use JavaScript extensions like [Flow](https://flow.org/) or [TypeScript](https://www.typescriptlang.org/) to typecheck your whole application. But even if you don't use those, React has some built-in typechecking abilities. To run typechecking on the props for a component, you can assign the special `propTypes` property: | ||
| Na medida em que sua aplicação cresce, você pode capturar muitos bugs com checagem de tipos. Em algumas aplicações, você pode usar extensões do JavaScript como [Flow](https://flowtype.org/) ou [TypeScript](https://www.typescriptlang.org/) para checar os tipos de toda a sua aplicação. Porém, mesmo se você não usá-las, React possui algumas habilidades de checagem de tipos embutidas. Para executar a checagem de tipos nas props para um componente, você pode atribuir à propriedade em especial `propTypes`: |
There was a problem hiding this comment.
| Na medida em que sua aplicação cresce, você pode capturar muitos bugs com checagem de tipos. Em algumas aplicações, você pode usar extensões do JavaScript como [Flow](https://flowtype.org/) ou [TypeScript](https://www.typescriptlang.org/) para checar os tipos de toda a sua aplicação. Porém, mesmo se você não usá-las, React possui algumas habilidades de checagem de tipos embutidas. Para executar a checagem de tipos nas props para um componente, você pode atribuir à propriedade em especial `propTypes`: | |
| Na medida em que sua aplicação cresce, você pode capturar muitos bugs com checagem de tipos. Em algumas aplicações, você pode usar extensões do JavaScript como [Flow](https://flowtype.org/) ou [TypeScript](https://www.typescriptlang.org/) para checar os tipos de toda a sua aplicação. Porém, mesmo se você não usá-las, React possui algumas habilidades de checagem de tipos embutidas. Para executar a checagem de tipos nas props para um componente, você pode atribuir a propriedade especial `propTypes`: |
There was a problem hiding this comment.
the verb atribuir asks for a complement (bitransitivo). Then, if we have atribuir we need a target "object". That's why I added the "crase" to it (artigo + preposição).
In em especial, I understood that special propTypes property meant a particular property, more towards to the match of very one translation than to the word special one.
There was a problem hiding this comment.
but is really a trick thing. Let me know if you have another POV
Uh oh!
There was an error while loading. Please reload this page.
fjoshuajr
left a comment
There was a problem hiding this comment.
Check the comments, please.
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: lucasdeassis <lucasassis413@gmail.com>
Co-Authored-By: lucasdeassis <lucasassis413@gmail.com>
Co-Authored-By: lucasdeassis <lucasassis413@gmail.com>
fjoshuajr
commented
Feb 10, 2019
I'll merge this then. |
* translate typechecking with proptypes page * translate "package" to "pacote" when referring to npm Co-Authored-By: lucasdeassis <lucasassis413@gmail.com> * Update "built-in" translation to "nativas" Co-Authored-By: lucasdeassis <lucasassis413@gmail.com> * change translation on "React component class" * adding common english terms in parenthesis * Update "using" translation Co-Authored-By: lucasdeassis <lucasassis413@gmail.com> * Update "defaultProps" gender translation Co-Authored-By: lucasdeassis <lucasassis413@gmail.com> * Update url to babel plugin reference Co-Authored-By: lucasdeassis <lucasassis413@gmail.com>
#1