You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS classes are generally better for performance than inline styles.
41
+
Performa kelas CSS biasanya lebih baik daripada _inline styles._
42
42
43
-
### What is CSS-in-JS? {#what-is-css-in-js}
43
+
### Apa yang dimaksud dengan CSS-in-JS? {#what-is-css-in-js}
44
44
45
-
"CSS-in-JS" refers to a pattern where CSS is composed using JavaScript instead of defined in external files. Read a comparison of CSS-in-JS libraries [here](https://github.com/MicheleBertoli/css-in-js).
45
+
"CSS-in-JS" mengacu kepada pola dimana CSS disusun menggunakan JavaScript bukannya didefinisikan di luar arsip.[disini](https://github.com/MicheleBertoli/css-in-js).
46
46
47
-
_Note that this functionality is not a part of React, but provided by third-party libraries._ React does not have an opinion about how styles are defined; if in doubt, a good starting point is to define your styles in a separate`*.css`file as usual and refer to them using[`className`](/docs/dom-elements.html#classname).
47
+
_Perhatikan bahwa fungsi ini bukan bagian dari React, tetapi disediakan oleh library dari pihak ketiga._ React tidak memiliki pendapat tentang bagaimana style didefinisikan; jika ragu, titik awal yang baik adalah mendefinisikan style anda secara terpisah dalam file`*.css`seperti biasa dan arahkan ke mereka menggunakan[`className`](/docs/dom-elements.html#classname).
48
48
49
-
### Can I do animations in React?{#can-i-do-animations-in-react}
49
+
### Dapatkah saya membuat animasi di React?{#can-i-do-animations-in-react}
50
50
51
-
React can be used to power animations. See[React Transition Group](https://reactcommunity.org/react-transition-group/)and[React Motion](https://github.com/chenglou/react-motion), for example.
51
+
React dapat digunakan untuk menggerakkan animasi. Lihat[React Transition Group](https://reactcommunity.org/react-transition-group/)dan[React Motion](https://github.com/chenglou/react-motion), untuk contoh.
0 commit comments