Skip to content

docs: translate API Reference -> react -> built-in components #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/content/reference/react/components.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
---
title: "Built-in React Components"
title: "Komponen Bawaan React"
---

<Intro>

React exposes a few built-in components that you can use in your JSX.
React menyediakan beberapa komponen bawaan yang dapat Anda gunakan dalam JSX Anda.

</Intro>

---

## Built-in components {/*built-in-components*/}
## Komponen bawaan {/*built-in-components*/}

* [`<Fragment>`](/reference/react/Fragment), alternatively written as `<>...</>`, lets you group multiple JSX nodes together.
* [`<Profiler>`](/reference/react/Profiler) lets you measure rendering performance of a React tree programmatically.
* [`<Suspense>`](/reference/react/Suspense) lets you display a fallback while the child components are loading.
* [`<StrictMode>`](/reference/react/StrictMode) enables extra development-only checks that help you find bugs early.
* [`<Fragment>`](/reference/react/Fragment), sebagai alternatif dapat ditulis menjadi `<>...</>`, memungkinkan Anda untuk mengelompokkan beberapa simpul JSX secara bersamaan.
* [`<Profiler>`](/reference/react/Profiler) memungkinkan Anda mengukur kinerja *render*-ing dari pohon React secara programatik.
* [`<Suspense>`](/reference/react/Suspense) memungkinkan Anda untuk menampilkan *fallback* saat komponen-komponen *child* sedang dimuat.
* [`<StrictMode>`](/reference/react/StrictMode) mengaktifkan pemeriksaan tambahan khusus pengembangan yang membantu Anda menemukan bug secara dini.

---

## Your own components {/*your-own-components*/}
## Komponen Anda sendiri {/*your-own-components*/}

You can also [define your own components](/learn/your-first-component) as JavaScript functions.
Anda juga dapat [mendefinisikan komponen Anda sendiri](/learn/your-first-component) sebagai fungsi JavaScript.