-
Notifications
You must be signed in to change notification settings - Fork 265
Translation of startTransition
#487
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
Translation of startTransition
#487
Conversation
|
||
* You can wrap an update into a transition only if you have access to the `set` function of that state. If you want to start a transition in response to some prop or a custom Hook return value, try [`useDeferredValue`](/reference/react/useDeferredValue) instead. | ||
* Anda hanya dapat menempatkan pembaruan _state_ ke dalam transisi bila Anda memiliki akses terhadap fungsi `set` dari _state_ tersebut. Jika Anda ingin memulai sebuah transisi sebagai respons terhadap sebuah _prop_ atau nilai balik sebuah _custom Hook_, cobalah menggunakan [`useDeferredValue`.](/reference/react/useDeferredValue) |
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.
Ketimbang menggunakan membungkus sebuah pembaruan state di dalam transisi
, pendapat subjektif saya lebih natural apabila kita melakukan parafrase menjadi menempatkan pembaruan state ke dalam transisi
.
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.
Yes, menempatkan pembaruan state ke dalam transisi
seems better.
@@ -84,14 +84,14 @@ function TabContainer() { | |||
} | |||
``` | |||
|
|||
Transitions let you keep the user interface updates responsive even on slow devices. | |||
Transisi memungkinkan pembaruan antarmuka pengguna (_user interface_) tetap responsif, bahkan dalam gawai yang relatif lamban. |
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.
Subjektif: Menurut saya lebih baik dijelaskan apa arti dari antarmuka pengguna
, karena terkadang beberapa orang masih agak kaku dan terasa lebih natural apabila menggunakan kata user interface
.
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.
Since there are already a lot of merged PRs with a similar situations which use antarmuka pengguna
. Also, other PRs are starting to use a convention to put the original word in the beginning.
Therefore:
Transisi memungkinkan pembaruan antarmuka pengguna (_user interface_) tetap responsif, bahkan dalam gawai yang relatif lamban. | |
Transisi memungkinkan pembaruan antarmuka pengguna (*user interface*) tetap responsif, bahkan dalam gawai yang relatif lamban. |
But only in the beginning is fine. The rest can just use antarmuka pengguna
.
Size changes📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
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.
Let's first replace all _
with *
as with other merged PRs for consistency.
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.
Approved and let's wait for the others
Size changes📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Co-authored-by: RiN <[email protected]>
Menambahkan terjemahan Bahasa Indonesia untuk
startTransition
.Resolves #420.