Skip to content

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

Merged
merged 15 commits into from
Jun 8, 2023
Merged

docs(translation): translate useImperativeHandle #518

merged 15 commits into from
Jun 8, 2023

Conversation

agustinusnathaniel
Copy link
Contributor

Closes #403

Description

Translate the useImperativeHandle page.
Page URL: https://id.react.dev/reference/react/useImperativeHandle

Copy link
Collaborator

@mazipan mazipan left a 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

@github-actions
Copy link

github-actions bot commented May 3, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link
Collaborator

@zainfathoni zainfathoni left a 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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**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.
  1. Translate node. Glossary

@agustinusnathaniel
Copy link
Contributor Author

Hi @resir014 @zainfathoni thank you so much for the review and suggestions, updated 🙏

@r17x
Copy link
Collaborator

r17x commented May 7, 2023

Need to re-check @zainfathoni @resir014

@mazipan
Copy link
Collaborator

mazipan commented May 16, 2023

Help to re-review @zainfathoni @resir014

@agustinusnathaniel
Copy link
Contributor Author

Hi @zainfathoni @resir014 need help to re-review 🙇 🙏

@mazipan
Copy link
Collaborator

mazipan commented May 31, 2023

Merging is blocked @resir014 @zainfathoni

Copy link
Collaborator

@zainfathoni zainfathoni left a 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. 🙏

@mazipan
Copy link
Collaborator

mazipan commented Jun 6, 2023

@resir014, your call

Copy link
Collaborator

@mhaidarhanif mhaidarhanif left a 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

@mhaidarhanif mhaidarhanif merged commit d0d8306 into reactjs:main Jun 8, 2023
@agustinusnathaniel agustinusnathaniel deleted the docs_api_use_imperative_handle branch June 8, 2023 16:00
FelixFern pushed a commit to FelixFern/id.react.dev that referenced this pull request Jun 13, 2023
Co-authored-by: Resi Respati <resir014@gmail.com>
Co-authored-by: Irfan Maulana <mazipanneh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useImperativeHandle
6 participants