[DONE]: Translate `Your First Component` by eihabkhan2 · Pull Request #488 · reactjs/ar.react.dev

@eihabkhan2

  • Translate the "Your First Component" section
  • Translate the "Components: UI building blocks" section
  • Translate the "Defining a component" section
  • Translate the "Step 1: Export the component" section
  • Translate the "Step 2: Define the function" section
  • Translate the "Step 3: Add markup" section
  • Translate the "Using a component" section
  • Translate the "What the browser sees" section
  • Translate the "Nesting and organizing components" section
  • Translate the "Recap" section
  • Translate the "Challenges" section

@eihabkhan2 eihabkhan2 changed the title Your First Component [DONE]: Translate Your First Component

Jun 2, 2023

@eihabkhan

@eihabkhan

@eihabkhan2

Done translating the page ✅

This was referenced

Jun 2, 2023

@AhmedBaset

@github-actions

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

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

Three Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/404 75.58 KB (🟡 +11 B) 178.73 KB
/500 75.57 KB (🟡 +11 B) 178.72 KB
/[[...markdownPath]] 76.99 KB (🟡 +11 B) 180.14 KB
Details

Only 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 next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

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.

@AhmedBaset

@AhmedBaset

AhmedBaset

يمثل هذا الترميز المرئي هذه المقالة `<article>`, عنوانها `<h1>`, وفهرس محتويات مختصر في شكل قائمة مرتبة `<ol>`. ترميز مرئي كهذا, مدمج مع CSS من أجل الأنماط التصميمية, و JavaScript من أجل التفاعلية, يكمن وراء كل شريط جانبي, صورة رمزية, نافذة, قائمة منسدلة - كل قطعة من واجهة مستخدم تراها في الويب.

React lets you combine your markup, CSS, and JavaScript into custom "components", **reusable UI elements for your app.** The table of contents code you saw above could be turned into a `<TableOfContents />` component you could render on every page. Under the hood, it still uses the same HTML tags like `<article>`, `<h1>`, etc.
تمكنك React من دمج الترميز المرئي, وCSS, وJavaScript في "مكونات" مخصصة, **عناصر واجهة المستخدم قابلة لإعادة الاستخدام لتطبيقك**. يمكن تحويل كود فهرس المحتوى الذي رأيته أعلاه إلى مكوّن `<TableOfContents />` الذي يمكن تصييره في كل صفحة. لا يزال يستخدم هذا المكوّن تحت الخطاء وسوم مثل `<article>`, `<h1>`, إلخ.

Choose a reason for hiding this comment

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

في المرة القادمة استخدم الفصلة العربية (،)
بدلا من (,)

Choose a reason for hiding this comment

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

Noted 👌

يمثل هذا الترميز المرئي هذه المقالة `<article>`, عنوانها `<h1>`, وفهرس محتويات مختصر في شكل قائمة مرتبة `<ol>`. ترميز مرئي كهذا, مدمج مع CSS من أجل الأنماط التصميمية, و JavaScript من أجل التفاعلية, يكمن وراء كل شريط جانبي, صورة رمزية, نافذة, قائمة منسدلة - كل قطعة من واجهة مستخدم تراها في الويب.

React lets you combine your markup, CSS, and JavaScript into custom "components", **reusable UI elements for your app.** The table of contents code you saw above could be turned into a `<TableOfContents />` component you could render on every page. Under the hood, it still uses the same HTML tags like `<article>`, `<h1>`, etc.
تمكنك React من دمج الترميز المرئي, وCSS, وJavaScript في "مكونات" مخصصة, **عناصر واجهة المستخدم قابلة لإعادة الاستخدام لتطبيقك**. يمكن تحويل كود فهرس المحتوى الذي رأيته أعلاه إلى مكوّن `<TableOfContents />` الذي يمكن تصييره في كل صفحة. لا يزال يستخدم هذا المكوّن تحت الخطاء وسوم مثل `<article>`, `<h1>`, إلخ.

Choose a reason for hiding this comment

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

Under the hood
في اللغة العربية نقول
خلف الكواليس أو وراء الستار

Choose a reason for hiding this comment

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

Please review my commits

Choose a reason for hiding this comment

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

@A7med3bdulBaset Looks great, thanks for the corrections.

@AhmedBaset

كالعادة ترجمة ممتازة
تم دمج الفرع
يمكنك الآن اختيار صفحة أخرى