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
[DONE] translate conditional rendering page #503
[DONE] translate conditional rendering page #503
Conversation
Size changes📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 Three Pages Changed SizeThe following pages changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this. |
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 review my commit to this branch
|
||
### Conditionally returning nothing with `null` {/*conditionally-returning-nothing-with-null*/} | ||
### إرجاع لا شيء شَرطيّا باستعمال `null` {/*conditionally-returning-nothing-with-null*/} |
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.
ستكون أفضل لو كانت "عدم إرجاع شيء"
|
||
In some situations, you won't want to render anything at all. For example, say you don't want to show packed items at all. A component must return something. In this case, you can return `null`: | ||
في بعض الحالات، قد لا ترغب في عرض أي شيء على الإطلاق. على سبيل المثال، قد ترغب في عدم عرض العناصر المحزومة. يجب على المكون أن يرجع قيمة. في هذه الحالة، يمكنك إرجاع القيمة `null`: | ||
|
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.
ومثلها هذه الجملة "قد ترغب في عدم عرض أي شيء" بدلا من "قد لا ترغب في عرض أي شيء"
|
||
In some situations, you won't want to render anything at all. For example, say you don't want to show packed items at all. A component must return something. In this case, you can return `null`: | ||
في بعض الحالات، قد لا ترغب في عرض أي شيء على الإطلاق. على سبيل المثال، قد ترغب في عدم عرض العناصر المحزومة. يجب على المكون أن يرجع قيمة. في هذه الحالة، يمكنك إرجاع القيمة `null`: | ||
|
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.
ومثلها هذه الجملة "قد ترغب في عدم عرض أي شيء" بدلا من "قد لا ترغب في عرض أي شيء"
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.
Could you please translate the index of this page in src/content/sidebarLearn.json
Hey, @A7med3bdulBaset, Thank you for your feedback and improvements 🙏. I really appreciate your efforts. I have made the requested changes. |
Thanks for your contribution |
This PR should translate the conditional rendering page to Arabic.