-
Notifications
You must be signed in to change notification settings - Fork 107
useId page translation #483
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
Conversation
Please, translate the reference in the |
@A7med3bdulBaset in sidebarReference.json, the title field is the name of |
You are right. I'm sorry. |
Thanks 👍 |
src/content/reference/react/useId.md
Outdated
|
||
--- | ||
|
||
## Usage {/*usage*/} | ||
## الإستخدام {/*usage*/} |
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.
الاستخدام بهمزة وصل
@@ -96,7 +96,7 @@ In regular HTML, you would write it like this: | |||
</p> |
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.
يفضل ترجمة النص داخل الكود
src/content/reference/react/useId.md
Outdated
@@ -96,7 +96,7 @@ In regular HTML, you would write it like this: | |||
</p> | |||
``` | |||
|
|||
However, hardcoding IDs like this is not a good practice in React. A component may be rendered more than once on the page--but IDs have to be unique! Instead of hardcoding an ID, generate a unique ID with `useId`: | |||
مع ذلك، تضمين المعرفات بهذا الشكل ليس طريقة جيدة في ريأكت. يمكن أن يتم عرض المكون أكثر من مرة على الصفحة ولكن يجب أن تكون المعرفات فريدة! بدلا من تضمين معرف ثابت، يمكنك توليد معرف فريد باستخدام `useId`: |
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.
كلمة React لا تحتاج لترجمة
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.
Please checkout my last commit to see edits
تم دمج الفرع |
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! 🙌 |
@A7med3bdulBaset |
No description provided.