Skip to content

[DONE] Translated "Thinking in React" #466

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 11 commits into from
Jun 2, 2023
Merged

Conversation

hAbuMustafa
Copy link
Contributor

Work in progress.
Translated intro through the first step.

@hAbuMustafa hAbuMustafa marked this pull request as ready for review April 29, 2023 02:23
@hAbuMustafa hAbuMustafa changed the title [WIP] Translating "Thinking in React" Translated "Thinking in React" Apr 29, 2023
@3imed-jaberi 3imed-jaberi changed the title Translated "Thinking in React" [WIP] Translated "Thinking in React" May 1, 2023
@hAbuMustafa
Copy link
Contributor Author

hAbuMustafa commented May 8, 2023

@3imed-jaberi My translation is done since I removed the label. Why is it labelled WIP? 👀

@hAbuMustafa hAbuMustafa changed the title [WIP] Translated "Thinking in React" [DONE] Translated "Thinking in React" May 10, 2023
@AhmedBaset AhmedBaset added need-review update needed This PR needs update since last commit and removed work-in-progress need-review labels May 30, 2023
@AhmedBaset
Copy link
Collaborator

Translate the reference in the src/sidebarLearn.json for your page

@AhmedBaset AhmedBaset self-assigned this Jun 2, 2023
@@ -1,18 +1,18 @@
---
title: Thinking in React
title: على طريقة React
Copy link
Collaborator

Choose a reason for hiding this comment

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

التفكير على طريقة React


The JSON API returns some data that looks like this:
واجهة JSON البرمجية أعطتك البيانات التالية:

```json
[
Copy link
Collaborator

Choose a reason for hiding this comment

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

يفضل ترجمة الكلمات مثل فاكهة وتفاح...

* **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)، والتي تشير إلى أنه في أحسن الأحوال، يكون للمكون الواحد وظيفة واحدة فقط. وكلما زادت مهمات المكون، يجب تقسيمها لمكونات فرعية أصغر.
Copy link
Collaborator

Choose a reason for hiding this comment

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

أحسنت في وضع الرابط العربي


* `FilterableProductTable`
* `SearchBar`
* `ProductTable`
* `ProductCategoryRow`
* `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*/}
Copy link
Collaborator

Choose a reason for hiding this comment

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

ثابت أدق من مصمت هنا

@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

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

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please See my three commits to this PR

@AhmedBaset AhmedBaset merged commit 71e5d59 into reactjs:main Jun 2, 2023
@AhmedBaset AhmedBaset added approved and removed update needed This PR needs update since last commit labels Jun 2, 2023
@AhmedBaset
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants