WIP: Translate "Introducing Concurrent Mode"#207
Closed
Fcmam5 wants to merge 2 commits intoreactjs:mainfrom
Closed
WIP: Translate "Introducing Concurrent Mode"#207Fcmam5 wants to merge 2 commits intoreactjs:mainfrom
Fcmam5 wants to merge 2 commits intoreactjs:mainfrom
Conversation
|
Deploy preview for ar-reactjs ready! Built with commit b51466c |
mohamedsgap
suggested changes
Dec 28, 2019
Contributor
mohamedsgap
left a comment
There was a problem hiding this comment.
Good job until now, keep going!
| --- | ||
| id: concurrent-mode-intro | ||
| title: Introducing Concurrent Mode (Experimental) | ||
| title: "تجريبي: مدخل إلى الوضع المتزامن (Concurent mode)" |
Contributor
There was a problem hiding this comment.
"أعتقد ان استخدام كلمة "مقدمة" أفضل من "مدخل
atefBB
suggested changes
Jan 1, 2020
| >احذر: | ||
| > | ||
| >This page describes **experimental features that are [not yet available](/docs/concurrent-mode-adoption.html) in a stable release**. Don't rely on experimental builds of React in production apps. These features may change significantly and without a warning before they become a part of React. | ||
| >تتناول هذه الصفحة **ميزات تجريبية [والتي ليست متوفّرة بعد](/docs/concurrent-mode-adoption.html) في في أيّ من الاصدارات المستقرّة**. ﻻ تعتمد على بُنيات تجريبية من React في تطبيقاتك الموجهة للإنتاج (Production apps). قد تواجه هذه المميزات تغييرات جذرية دون أي تحذير قبل أن تصبح جزءًا من React. |
| ## التصصير الإعتراضي (Blocking) والتصيير القابل للمقاطعة (Interruptible) {#blocking-vs-interruptible-rendering} | ||
|
|
||
| **To explain Concurrent Mode, we'll use version control as a metaphor.** If you work on a team, you probably use a version control system like Git and work on branches. When a branch is ready, you can merge your work into master so that other people can pull it. | ||
| **سنستعمل إدارة الإصدارات كمثال لشرح الوضع المتزامن.** عند العمل في فريق، على الأغلب ستستعملون برنامج إدارة النسخ مثل Git وستعملون على فروع (branches). يمكنك دمج الفرع عندما يصبح جاهزا مع الفرع الرئيسي master حتى يسحبه الآخرون. |
Contributor
There was a problem hiding this comment.
الكاف في اللغة العربية لا تكون إلا للتشبيه والسياق ليس سياق تشبيه بل سياق توصيف، لذلك اقترح استعمال المصدر فتصبح الجملة: "سنستعمل إدارة اﻹصدارات مثالا لشرح ...".
| **سنستعمل إدارة الإصدارات كمثال لشرح الوضع المتزامن.** عند العمل في فريق، على الأغلب ستستعملون برنامج إدارة النسخ مثل Git وستعملون على فروع (branches). يمكنك دمج الفرع عندما يصبح جاهزا مع الفرع الرئيسي master حتى يسحبه الآخرون. | ||
|
|
||
| Before version control existed, the development workflow was very different. There was no concept of branches. If you wanted to edit some files, you had to tell everyone not to touch those files until you've finished your work. You couldn't even start working on them concurrently with that person — you were literally *blocked* by them. | ||
| كان مسار التطوير مختلفا جدا قبل نشأءة نظم إدارة النسخ، لم يكن هناك أي مفهوم للفروع. إن كنت تريد تعديل بعض الملفات، عليك أن تخبر الجميع بألا يلمسوها حتى تنهي عملك. ﻻ يمكنك حتى أن تبدأ في العمل عليها بالتزامن مع الشخص الذي *يعترضك* حرفيّا. |
Contributor
There was a problem hiding this comment.
"نشأة" بهمزة واحدة على اﻷلف.
| كان مسار التطوير مختلفا جدا قبل نشأءة نظم إدارة النسخ، لم يكن هناك أي مفهوم للفروع. إن كنت تريد تعديل بعض الملفات، عليك أن تخبر الجميع بألا يلمسوها حتى تنهي عملك. ﻻ يمكنك حتى أن تبدأ في العمل عليها بالتزامن مع الشخص الذي *يعترضك* حرفيّا. | ||
|
|
||
| This illustrates how UI libraries, including React, typically work today. Once they start rendering an update, including creating new DOM nodes and running the code inside components, they can't interrupt this work. We'll call this approach "blocking rendering". | ||
| هذا ما يوضّح طريقة عمل مكتبات واجهات المستخدم بما فيها React. لمّا تشرع في تصصير تحديث ينجم عنه إنشاء عقد DOM وتشغيل الشيفرة داخل المكوّن، ﻻ يمكن مقاطعتها أثناء ذلك. سنسمّي هذا المفهوم "التصيير الإعتراضي". |
Contributor
There was a problem hiding this comment.
اقترح التعديل التالي: "عند الشروع في تصيير ...".
| هذا ما يوضّح طريقة عمل مكتبات واجهات المستخدم بما فيها React. لمّا تشرع في تصصير تحديث ينجم عنه إنشاء عقد DOM وتشغيل الشيفرة داخل المكوّن، ﻻ يمكن مقاطعتها أثناء ذلك. سنسمّي هذا المفهوم "التصيير الإعتراضي". | ||
|
|
||
| In Concurrent Mode, rendering is not blocking. It is interruptible. This improves the user experience. It also unlocks new features that weren't possible before. Before we look at concrete examples in the [next](/docs/concurrent-mode-suspense.html) [chapters](/docs/concurrent-mode-patterns.html), we'll do a high-level overview of new features. | ||
| في الوضع المتزامن، التصيير ليس إعتراضيا بل هو قابل للمقاطعة. هذا سيحسّن تجربة المستخدم. وسيفتح الباب لمزيد من الميزات التي لم تكن ممكنة من قبل. قبل أن ننظر إلى أمثلة حقيقيّة في [الفقرات](/docs/concurrent-mode-suspense.html) [القادمة](/docs/concurrent-mode-patterns.html)، سنلقي نظرة سطحيّة على الميزات الجديدة. |
Contributor
There was a problem hiding this comment.
"إعتراضيا" بهمزة وصل "اعتراضيا".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚧 Work in progress