Skip to content

Commit 7132cd8

Browse files
committed
docs: translate overview section
1 parent 7c41230 commit 7132cd8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/content/learn/keeping-components-pure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
title: Keeping Components Pure
2+
title: Menjaga Kemurnian Komponen
33
---
44

55
<Intro>
66

7-
Some JavaScript functions are *pure.* Pure functions only perform a calculation and nothing more. By strictly only writing your components as pure functions, you can avoid an entire class of baffling bugs and unpredictable behavior as your codebase grows. To get these benefits, though, there are a few rules you must follow.
7+
Beberapa fungsi JavaScript bersifat murni, yaitu hanya melakukan kalkulasi. Dengan begitu, Anda bisa menghindari berbagai macam *bug* dan tingkah laku yang membingungkan dari aplikasi yang Anda bangun. Namun, ada beberapa aturan yang harus Anda ikuti untuk mencapai keadaan ini.
88

99
</Intro>
1010

1111
<YouWillLearn>
1212

13-
* What purity is and how it helps you avoid bugs
14-
* How to keep components pure by keeping changes out of the render phase
15-
* How to use Strict Mode to find mistakes in your components
13+
* Apa itu kemurnian dan bagaimana hal tersebut dapat membantu Anda menghindari *bug*
14+
* Bagaimana cara menjaga kemurnian komponen dengan tidak melakukan pengubahan pada fase *render*
15+
* Bagaimana cara menggunakan *Strict Mode* untuk menemukan kesalahan pada komponen Anda
1616

1717
</YouWillLearn>
1818

0 commit comments

Comments
 (0)