Repository navigation
useId page translation - #483
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 👍 |
| --- | ||
|
|
||
| ## Usage {/*usage*/} | ||
| ## الإستخدام {/*usage*/} |
| @@ -96,7 +96,7 @@ In regular HTML, you would write it like this: | |||
| </p> | |||
There was a problem hiding this comment.
يفضل ترجمة النص داخل الكود
| ``` | ||
|
|
||
| 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.
كلمة React لا تحتاج لترجمة
There was a problem hiding this comment.
Please checkout my last commit to see edits
|
تم دمج الفرع |
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! 🙌 |
|
@A7med3bdulBaset |
No description provided.