-
Notifications
You must be signed in to change notification settings - Fork 267
docs: translate suspense page #523
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
Conversation
Any updates woody? @maulanasdqn |
wait buzz @r17x |
* `children`: The actual UI you intend to render. If `children` suspends while rendering, the Suspense boundary will switch to rendering `fallback`. | ||
* `fallback`: An alternate UI to render in place of the actual UI if it has not finished loading. Any valid React node is accepted, though in practice, a fallback is a lightweight placeholder view, such as a loading spinner or skeleton. Suspense will automatically switch to `fallback` when `children` suspends, and back to `children` when the data is ready. If `fallback` suspends while rendering, it will activate the closest parent Suspense boundary. | ||
* `children`: UI aktual yang ingin Anda render. Jika `children` ditangguhkan sewaktu merender, batas Suspense akan beralih merender `fallback`. | ||
* `fallback`: UI alternatif untuk dirender menggantikan UI yang sebenarnya jika belum selesai dimuat. Setiap node React yang valid akan diterima, meskipun dalam praktiknya, fallback adalah tampilan placeholder yang ringan, Suspense akan secara otomatis beralih ke `fallback` ketika `children` ditangguhkan, dan kembali ke `children` ketika datanya sudah siap. Jika `fallback` ditangguhkan sewaktu melakukan rendering, itu akan mengaktifkan induk terdekat dari batas Suspense. | ||
|
||
#### Caveats {/*caveats*/} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Caveats -> Catatan Penting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
notes bang @r17x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kalau Props apa bang?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Props aja tapi dibikin miring (italiano is no mexico)
gan udh beres minta riview nya @r17x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Boleh diperiksa kembali, beberapa line kebawah yang mirip dengan permintaan perubahan ini #523 (comment).
* `children`: The actual UI you intend to render. If `children` suspends while rendering, the Suspense boundary will switch to rendering `fallback`. | ||
* `fallback`: An alternate UI to render in place of the actual UI if it has not finished loading. Any valid React node is accepted, though in practice, a fallback is a lightweight placeholder view, such as a loading spinner or skeleton. Suspense will automatically switch to `fallback` when `children` suspends, and back to `children` when the data is ready. If `fallback` suspends while rendering, it will activate the closest parent Suspense boundary. | ||
#### *Props* {/*props*/} | ||
* `children`: UI aktual yang ingin Anda render. Jika `children` ditangguhkan sewaktu merender, batas Suspense akan beralih merender `fallback`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `children`: UI aktual yang ingin Anda render. Jika `children` ditangguhkan sewaktu merender, batas Suspense akan beralih merender `fallback`. | |
* `children`: UI aktual yang ingin Anda *render*. Jika `children` ditangguhkan sewaktu me-*render*, batas Suspense akan beralih me-*render* `fallback`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oke bang
bang cekin bang tulung @r17x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beberapa perubahan kecil menghasilkan perubahan besar 🙏
@@ -4,7 +4,7 @@ title: <Suspense> | |||
|
|||
<Intro> | |||
|
|||
`<Suspense>` lets you display a fallback until its children have finished loading. | |||
`<Suspense>` memungkinkan Anda menampilkan fallback sampai komponen children selesai dimuat. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`<Suspense>` memungkinkan Anda menampilkan fallback sampai komponen children selesai dimuat. | |
`<Suspense>` memungkinkan Anda menampilkan fallback sampai komponen anaknya selesai dimuat. |
Based on glossary https://github.com/reactjs/id.react.dev/wiki/Glosarium#c
Lihat juga beberapa kata lain, jika konteksnya hampir sama (kecuali bagian dari API)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Iya betul jadi seperti itu.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beberapa perubahan kecil menghasilkan perubahan besar 🙏
Any updates @maulanasdqn |
Hi @maulanasdqn, any updates? I'm willing to take over this PR if you're currently busy with other stuffs. |
hii @chez14 iam sorry for this, yes you can Continue this issue, cuz i have so many task |
2ed327a
to
f52bcd9
Compare
Closes #416
Description
Translate the Suspense page.
Page URL: https://id.react.dev/reference/react/Suspense