Conversation
|
Any updates woody? @maulanasdqn |
|
wait buzz @r17x |
| * `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.
kalau Props apa bang?
There was a problem hiding this comment.
Props aja tapi dibikin miring (italiano is no mexico)
|
gan udh beres minta riview nya @r17x |
There was a problem hiding this comment.
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.
| * `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`. |
|
bang cekin bang tulung @r17x |
r17x
left a comment
There was a problem hiding this comment.
Beberapa perubahan kecil menghasilkan perubahan besar 🙏
| <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.
| `<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.
Iya betul jadi seperti itu.
r17x
left a comment
There was a problem hiding this comment.
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