Skip to content

Translating Reference: React/Components #509

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 9 commits into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/content/reference/react/components.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
---
title: "Built-in React Components"
title: "المكونات المدمجة في React"
---

<Intro>

React exposes a few built-in components that you can use in your JSX.
تقدم React بعض المكونات المدمجة التي يمكنك استخدامها في JSX الخاص بك.

</Intro>

---

## Built-in components {/*built-in-components*/}
## المكونات المدمجة {/*built-in-components*/}

* [`<Fragment>`](/reference/react/Fragment), alternatively written as `<>...</>`, lets you group multiple JSX nodes together.
* [`<Profiler>`](/reference/react/Profiler) lets you measure rendering performance of a React tree programmatically.
* [`<Suspense>`](/reference/react/Suspense) lets you display a fallback while the child components are loading.
* [`<StrictMode>`](/reference/react/StrictMode) enables extra development-only checks that help you find bugs early.
* [`<Fragment>`](/reference/react/Fragment)، والتي يمكن كتابتها بديلاً عن `<>...</>`، تتيح لك تجميع عدة عناصر JSX معًا.
* [`<Profiler>`](/reference/react/Profiler) تتيح لك قياس أداء تقديم شجرة React برمجيًا.
* [`<Suspense>`](/reference/react/Suspense) تتيح لك عرض `fallback` أثناء تحميل العناصر الأبناء.
* [`<StrictMode>`](/reference/react/StrictMode) تمكين فحوصات إضافية للتطوير فقط تساعدك في العثور على الأخطاء في وقت مبكر.

---

## Your own components {/*your-own-components*/}
## مكوناتك الخاصة {/*your-own-components*/}

You can also [define your own components](/learn/your-first-component) as JavaScript functions.
يمكنك أيضًا [تعريف مكوناتك الخاصة](/learn/your-first-component) كدوال JavaScript.
4 changes: 2 additions & 2 deletions src/sidebarReference.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
]
},
{
"title": "Components",
"title": "المكونات",
"path": "/reference/react/components",
"routes": [
{
Expand Down Expand Up @@ -139,7 +139,7 @@
"sectionHeader": "[email protected]"
},
{
"title": "Components",
"title": "المكونات",
"path": "/reference/react-dom/components",
"routes": [
{
Expand Down