[DONE] Translated "Thinking in React"#466
Merged
AhmedBaset merged 11 commits intoreactjs:mainfrom Jun 2, 2023
Merged
Conversation
Contributor
Author
|
@3imed-jaberi My translation is done since I removed the label. Why is it labelled WIP? 👀 |
Collaborator
|
Translate the reference in the |
AhmedBaset
reviewed
Jun 2, 2023
| @@ -1,18 +1,18 @@ | |||
| --- | |||
| title: Thinking in React | |||
| title: على طريقة React | |||
Collaborator
There was a problem hiding this comment.
التفكير على طريقة React
| واجهة JSON البرمجية أعطتك البيانات التالية: | ||
|
|
||
| ```json | ||
| [ |
Collaborator
There was a problem hiding this comment.
يفضل ترجمة الكلمات مثل فاكهة وتفاح...
| * **Programming**--use the same techniques for deciding if you should create a new function or object. One such technique is the [single responsibility principle](https://en.wikipedia.org/wiki/Single_responsibility_principle), that is, a component should ideally only do one thing. If it ends up growing, it should be decomposed into smaller subcomponents. | ||
| * **CSS**--consider what you would make class selectors for. (However, components are a bit less granular.) | ||
| * **Design**--consider how you would organize the design's layers. | ||
| * **البرمجة**--استخدم نفس الطرائق لتقرر إذا ما كان عليك إنشاء دالة (function) أو كائن. إحدى الطرائق المقصودة هي [مبدأ المهمة الواحدة](https://ar.wikipedia.org/wiki/%D9%85%D8%A8%D8%AF%D8%A3_%D8%A7%D9%84%D9%85%D9%87%D9%85%D8%A9_%D8%A7%D9%84%D9%88%D8%A7%D8%AD%D8%AF%D8%A9)، والتي تشير إلى أنه في أحسن الأحوال، يكون للمكون الواحد وظيفة واحدة فقط. وكلما زادت مهمات المكون، يجب تقسيمها لمكونات فرعية أصغر. |
Collaborator
There was a problem hiding this comment.
أحسنت في وضع الرابط العربي
| * `ProductRow` | ||
|
|
||
| ## Step 2: Build a static version in React {/*step-2-build-a-static-version-in-react*/} | ||
| ## الخطوة 2: قم ببناء نموذج مصمت بـ React {/*step-2-build-a-static-version-in-react*/} |
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! 🙌 |
AhmedBaset
approved these changes
Jun 2, 2023
Collaborator
There was a problem hiding this comment.
Please See my three commits to this PR
Collaborator
|
تم دمج الفرع |
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.
Translated intro through the first step.