-
Notifications
You must be signed in to change notification settings - Fork 264
docs(translation): translate useImperativeHandle
#518
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
docs(translation): translate useImperativeHandle
#518
Conversation
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.
Looks good to me 🟢, let's wait for review from @mhaidarhanif, @r17x @resir014 or @zainfathoni
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.
I have a few more suggestions while introducing more words to the glossary.
Let's discuss them over here: #337 (comment)
@@ -281,8 +281,8 @@ export default AddComment; | |||
|
|||
<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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**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 |
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.
LGTM 💯
Thanks for making the changes and sorry for the delayed review. 🙏
@resir014, your call |
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.
All good. As there are 3 other approvals
Co-authored-by: Resi Respati <resir014@gmail.com> Co-authored-by: Irfan Maulana <mazipanneh@gmail.com>
Closes #403
Description
Translate the
useImperativeHandle
page.Page URL: https://id.react.dev/reference/react/useImperativeHandle