docs(translation): translate useImperativeHandle#518
docs(translation): translate useImperativeHandle#518mhaidarhanif merged 15 commits intoreactjs:mainfrom agustinusnathaniel:docs_api_use_imperative_handle
useImperativeHandle#518Conversation
mazipan
left a comment
There was a problem hiding this comment.
Looks good to me 🟢, let's wait for review from @mhaidarhanif, @r17x @resir014 or @zainfathoni
Size changesDetails📦 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.
I have a few more suggestions while introducing more words to the glossary.
Let's discuss them over here: #337 (comment)
| <Pitfall> | ||
|
|
||
| **Do not overuse refs.** You should only use refs for *imperative* behaviors that you can't express as props: for example, scrolling to a node, focusing a node, triggering an animation, selecting text, and so on. | ||
| **Jangan terlalu sering menggunakan refs.** Anda hanya boleh menggunakan *refs* untuk perilaku *imperatif* yang tidak dapat Anda ungkapkan sebagai *props*: misalnya, menggulir ke sebuah *node*, memfokuskan sebuah *node*, memicu sebuah animasi, memilih teks, dan sebagainya. |
There was a problem hiding this comment.
| **Jangan terlalu sering menggunakan refs.** Anda hanya boleh menggunakan *refs* untuk perilaku *imperatif* yang tidak dapat Anda ungkapkan sebagai *props*: misalnya, menggulir ke sebuah *node*, memfokuskan sebuah *node*, memicu sebuah animasi, memilih teks, dan sebagainya. | |
| **Jangan terlalu sering menggunakan refs.** Anda hanya boleh menggunakan *refs* untuk perilaku *imperatif* yang tidak dapat Anda ungkapkan sebagai *props*: misalnya, menggulir ke sebuah simpul, memfokuskan sebuah simpul, memicu sebuah animasi, memilih teks, dan sebagainya. |
- Translate
node. Glossary
|
Hi @resir014 @zainfathoni thank you so much for the review and suggestions, updated 🙏 |
|
Need to re-check @zainfathoni @resir014 |
Co-authored-by: Resi Respati <resir014@gmail.com>
|
Help to re-review @zainfathoni @resir014 |
|
Hi @zainfathoni @resir014 need help to re-review 🙇 🙏 |
|
Merging is blocked @resir014 @zainfathoni |
zainfathoni
left a comment
There was a problem hiding this comment.
LGTM 💯
Thanks for making the changes and sorry for the delayed review. 🙏
|
@resir014, your call |
Co-authored-by: Resi Respati <resir014@gmail.com> Co-authored-by: Irfan Maulana <mazipanneh@gmail.com>
Closes #403
Description
Translate the
useImperativeHandlepage.Page URL: https://id.react.dev/reference/react/useImperativeHandle