Skip to content

Commit

Permalink
Update content/warnings/dont-call-proptypes.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Resi Respati <resir014@gmail.com>
  • Loading branch information
jonasqq and resir014 authored Jul 12, 2019
1 parent 6c5ce3d commit 612d9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/warnings/dont-call-proptypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permalink: warnings/dont-call-proptypes.html
>
> `React.PropTypes` telah dipindahkan kedalam *package* yang berbeda sejak React v15.5. Silahkan gunakan [*library* `prop-types` sebagai gantinya](https://www.npmjs.com/package/prop-types).
>
>Kami menyediakan [sebuah *codemod script*](/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes) untuk mengotomatisasi pembicaraan.
>Kami menyediakan [sebuah *codemod script*](/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes) untuk mengotomatisasi perpindahan.
Pada sebuah rilis besar React dimasa depan, kode yang menerapkan validasi fungsi-fungsi PropType akan dihilangkan di *production*. Segera sesudah ini terjadi, semua kode yang memanggil fungsi-fungsi ini secara manual (yang tidak dihilangkan di *production*) akan melempar sebuah *error*.

Expand Down

0 comments on commit 612d9d1

Please sign in to comment.