Skip to content

Commit efd4036

Browse files
merging all conflicts
2 parents 917e081 + d271a7a commit efd4036

29 files changed

+314
-0
lines changed

src/content/blog/2023/05/03/react-canaries.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ date: 2023/05/03
55
description: We'd like to offer the React community an option to adopt individual new features as soon as their design is close to final, before they're released in a stable version--similar to how Meta has long used bleeding-edge versions of React internally. We are introducing a new officially supported [Canary release channel](/community/versioning-policy#canary-channel). It lets curated setups like frameworks decouple adoption of individual React features from the React release schedule.
66
---
77

8+
<<<<<<< HEAD
89
في الثالث من مايو، 2023، كتبه [دان أبراموف](https://bsky.app/profile/danabra.mov)، [صوفي ألبرت](https://twitter.com/sophiebits)، [ريك هانلون](https://twitter.com/rickhanlonii)، [سيباستيان ماركباج](https://twitter.com/sebmarkbage)، و [أندرو كلارك](https://twitter.com/acdlite).
10+
=======
11+
May 3, 2023 by [Dan Abramov](https://bsky.app/profile/danabra.mov), [Sophie Alpert](https://twitter.com/sophiebits), [Rick Hanlon](https://twitter.com/rickhanlonii), [Sebastian Markbåge](https://twitter.com/sebmarkbage), and [Andrew Clark](https://twitter.com/acdlite)
12+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
913
1014
---
1115

src/content/blog/2024/10/21/react-compiler-beta-release.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,8 @@ Thanks to [Sathya Gunasekaran](https://twitter.com/_gsathya), [Joe Savona](https
131131

132132
[^2]: Thanks [Vaishali Garg](https://www.linkedin.com/in/vaishaligarg09) for leading this study on React Compiler at Meta, and for reviewing this post.
133133

134+
<<<<<<< HEAD
134135
[^3]: After controlling on author tenure, diff length/complexity, and other potential confounding factors.
136+
=======
137+
[^3]: After controlling on author tenure, diff length/complexity, and other potential confounding factors.
138+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0

src/content/blog/index.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,88 @@ title: مدونة React
44

55
<Intro>
66

7+
<<<<<<< HEAD
78
هذه المدونة هي المصدر الرسمي لتحديثات فريق React. سيتم نشر التحديثات المهمة هنا أولًا بأول، بما في ذلك ملاحظات الإصدار أو تحذيرات الإيقاف.
89

910
يمكنك أيضًا متابعة حساب [<span dir="ltr">@reactjs</span>](https://twitter.com/reactjs) على تويتر، وحساب [@react.dev](https://bsky.app/profile/react.dev) في Bluesky، ولكن لن يفوتك أي شيء أساسي إذا قرأت هذه المدونة فقط.
11+
=======
12+
This blog is the official source for the updates from the React team. Anything important, including release notes or deprecation notices, will be posted here first.
13+
14+
You can also follow the [@react.dev](https://bsky.app/profile/react.dev) account on Bluesky, or [@reactjs](https://twitter.com/reactjs) account on Twitter, but you won’t miss anything essential if you only read this blog.
15+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
1016
1117
</Intro>
1218

1319
<div className="sm:-mx-5 flex flex-col gap-5 mt-12">
1420

1521
<BlogCard title="React Conf 2025 Recap" date="October 16, 2025" url="/blog/2025/10/16/react-conf-2025-recap">
22+
<<<<<<< HEAD
23+
=======
24+
25+
Last week we hosted React Conf 2025. In this post, we summarize the talks and announcements from the event...
26+
27+
</BlogCard>
28+
29+
<BlogCard title="React Compiler v1.0" date="October 7, 2025" url="/blog/2025/10/07/react-compiler-1">
30+
31+
We're releasing the compiler's first stable release today, plus linting and tooling improvements to make adoption easier.
32+
33+
</BlogCard>
34+
35+
<BlogCard title="Introducing the React Foundation" date="October 7, 2025" url="/blog/2025/10/07/introducing-the-react-foundation">
36+
37+
Today, we're announcing our plans to create the React Foundation and a new technical governance structure ...
38+
39+
</BlogCard>
40+
41+
<BlogCard title="React 19.2" date="October 1, 2025" url="/blog/2025/10/01/react-19-2">
42+
43+
React 19.2 adds new features like Activity, React Performance Tracks, useEffectEvent, and more. In this post ...
44+
45+
</BlogCard>
46+
47+
<BlogCard title="React Labs: View Transitions, Activity, and more" date="April 23, 2025" url="/blog/2025/04/23/react-labs-view-transitions-activity-and-more">
48+
49+
In React Labs posts, we write about projects in active research and development. In this post, we're sharing two new experimental features that are ready to try today, and sharing other areas we're working on now ...
50+
51+
</BlogCard>
52+
53+
<BlogCard title="Sunsetting Create React App" date="February 14, 2025" url="/blog/2025/02/14/sunsetting-create-react-app">
54+
55+
Today, we’re deprecating Create React App for new apps, and encouraging existing apps to migrate to a framework, or to migrate to a build tool like Vite, Parcel, or RSBuild. We’re also providing docs for when a framework isn’t a good fit for your project, you want to build your own framework, or you just want to learn how React works by building a React app from scratch ...
56+
57+
</BlogCard>
58+
59+
<BlogCard title="React v19 " date="December 5, 2024" url="/blog/2024/12/05/react-19">
60+
61+
In the React 19 Upgrade Guide, we shared step-by-step instructions for upgrading your app to React 19. In this post, we'll give an overview of the new features in React 19, and how you can adopt them ...
62+
63+
</BlogCard>
64+
65+
<BlogCard title="React Compiler Beta Release" date="October 21, 2024" url="/blog/2024/10/21/react-compiler-beta-release">
66+
67+
We announced an experimental release of React Compiler at React Conf 2024. We've made a lot of progress since then, and in this post we want to share what's next for React Compiler ...
68+
69+
</BlogCard>
70+
71+
<BlogCard title="React Conf 2024 Recap" date="May 22, 2024" url="/blog/2024/05/22/react-conf-2024-recap">
72+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
1673
1774
Last week we hosted React Conf 2025. In this post, we summarize the talks and announcements from the event...
1875

1976
</BlogCard>
2077

78+
<<<<<<< HEAD
2179
<BlogCard title="React Compiler v1.0" date="October 7, 2025" url="/blog/2025/10/07/react-compiler-1">
2280

2381
We're releasing the compiler's first stable release today, plus linting and tooling improvements to make adoption easier.
2482

2583
</BlogCard>
2684

2785
<BlogCard title="Introducing the React Foundation" date="October 7, 2025" url="/blog/2025/10/07/introducing-the-react-foundation">
86+
=======
87+
<BlogCard title="React 19 Upgrade Guide" date="April 25, 2024" url="/blog/2024/04/25/react-19-upgrade-guide">
88+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
2889
2990
Today, we're announcing our plans to create the React Foundation and a new technical governance structure ...
3091

src/content/community/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,8 @@ title: من أين تحصل على المساعدة
3333

3434
## الأخبار {/*news*/}
3535

36+
<<<<<<< HEAD
3637
لمتابعة آخر الأخبار حول React، [تابع **@reactjs** على Twitter](https://twitter.com/reactjs) و [**@react.dev** في Bluesky](https://bsky.app/profile/react.dev) وكذلك [مدوّنة React الرسمة](/blog/) على هذا الموقع.
38+
=======
39+
For the latest news about React, [follow **@reactjs** on Twitter](https://twitter.com/reactjs), [**@react.dev** on Bluesky](https://bsky.app/profile/react.dev) and the [official React blog](/blog/) on this website.
40+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0

src/content/errors/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ In the minified production build of React, we avoid sending down full error mess
77

88
We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, the error message will include just a link to the docs for the error.
99

10+
<<<<<<< HEAD
1011
For an example, see: [https://ar.react.dev/errors/149](/errors/149).
12+
=======
13+
For an example, see: [https://react.dev/errors/149](/errors/149).
14+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0

src/content/learn/add-react-to-an-existing-project.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,19 @@ title: إضافة React إلى مشروع موجود بالفعل
2020

2121
هنا ما نوصي به لإعداده:
2222

23+
<<<<<<< HEAD
2324
1. **بناء الجزء الخاص بـ React في تطبيقك** باستخدام إحدى [الإطارات المبنية على React](/learn/creating-a-react-app).
2425
2. **حدد `/some-app` كـ *مسار أساسي*** في إعدادات إطار العمل الخاص بك (هنا كيف مع: [Next.js](https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)).
2526
3. **قم بتكوين خادمك أو بروكسي** بحيث يتم التعامل مع جميع الطلبات تحت `/some-app/` من قبل تطبيق React الخاص بك.
2627

2728
يضمن هذا أن الجزء الخاص بـ React من تطبيقك يمكن أن يستفيد من [أفضل الممارسات](/learn/creating-a-react-app#can-i-use-react-without-a-framework) المدمجة في تلك الإطارات.
29+
=======
30+
1. **Build the React part of your app** using one of the [React-based frameworks](/learn/start-a-new-react-project).
31+
2. **Specify `/some-app` as the *base path*** in your framework's configuration (here's how: [Next.js](https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)).
32+
3. **Configure your server or a proxy** so that all requests under `/some-app/` are handled by your React app.
33+
34+
This ensures the React part of your app can [benefit from the best practices](/learn/build-a-react-app-from-scratch#consider-using-a-framework) baked into those frameworks.
35+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
2836
2937
العديد من الإطارات القائمة على React هي إطارات full-stack وتتيح لتطبيق React الخاص بك الاستفادة من الخادم. ومع ذلك، يمكنك استخدام نفس النهج حتى إذا لم تتمكن أو لا تريد تشغيل JavaScript على الخادم. في هذه الحالة
3038
، قم بتصدير HTML/CSS/JS ([`next export`](https://nextjs.org/docs/advanced-features/static-html-export) لـ Next.js ، هذا هو الافتراضي لـ Gatsby) في `/some-app/` بدلاً من ذلك.
@@ -46,7 +54,11 @@ title: إضافة React إلى مشروع موجود بالفعل
4654

4755
* **إذا كان تطبيقك مقسم بالفعل إلى ملفات تستخدم عبارات `import`**، فحاول استخدام الإعداد الذي لديك بالفعل. تحقق مما إذا كان كتابة `<div />` في كود JS الخاص بك يسبب خطأ في البناء. إذا تسبب في خطأ في البناء، فقد تحتاج إلى [تحويل كود JavaScript الخاص بك باستخدام Babel](https://babeljs.io/setup)، وتمكين [Babel React preset](https://babeljs.io/docs/babel-preset-react) لاستخدام JSX.
4856

57+
<<<<<<< HEAD
4958
* **إذا لم يكن لتطبيقك إعداد حالي لتجميع وحدات JavaScript**، فقم بإعداده مع [Vite](https://vite.dev/). تحتفظ مجتمع Vite بـ [العديد من التكاملات مع إطارات العمل الخلفية]((https://github.com/vitejs/awesome-vite#integrations-with-backends) ، بما في ذلك Rails و Django و Laravel. إذا لم يتم سرد إطار عمل الخلفية الخاص بك، [اتبع هذه الإرشادات](https://vite.dev/guide/backend-integration.html) لدمج بناء Vite يدويًا مع إطار عملك.
59+
=======
60+
* **If your app doesn't have an existing setup for compiling JavaScript modules,** set it up with [Vite](https://vite.dev/). The Vite community maintains [many integrations with backend frameworks](https://github.com/vitejs/awesome-vite#integrations-with-backends), including Rails, Django, and Laravel. If your backend framework is not listed, [follow this guide](https://vite.dev/guide/backend-integration.html) to manually integrate Vite builds with your backend.
61+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
5062
5163
للتحقق مما إذا كان إعدادك يعمل، قم بتشغيل هذا الأمر في مجلد مشروعك:
5264

@@ -63,7 +75,11 @@ npm install react react-dom
6375
<html>
6476
<head><title>تطبيقي</title></head>
6577
<body>
78+
<<<<<<< HEAD
6679
<!-- محتوى صفحتك الحالي (في هذا المثال سيتم تبديله) -->
80+
=======
81+
<!-- Your existing page content (in this example, it gets replaced) -->
82+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
6783
<div id="root"></div>
6884
</body>
6985
</html>
@@ -86,7 +102,11 @@ root.render(<h1>مرحبًا بكم!</h1>);
86102

87103
<Note>
88104

105+
<<<<<<< HEAD
89106
دمج بيئة JavaScript معمارية في مشروع موجود قد يبدو مرعبًا أول الأمر، ولكنه يستحق ذلك! إذا تعثرت ، جرب [السؤال في المجتمع](/community) أو [الدردشة في Vite](https://chat.vite.dev/).
107+
=======
108+
Integrating a modular JavaScript environment into an existing project for the first time can feel intimidating, but it's worth it! If you get stuck, try our [community resources](/community) or the [Vite Chat](https://chat.vite.dev/).
109+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
90110
91111
</Note>
92112

src/content/learn/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ title: بداية سريعة
44

55
<Intro>
66

7+
<<<<<<< HEAD
78
أهلا بك في مستندات react، هذه الصفحة ستعطيك مقدمة ل ٨٠٪ من مفاهيم React التي يتم استخدامها بشكل روتيني في مشاريع React.
9+
=======
10+
Welcome to the React documentation! This page will give you an introduction to 80% of the React concepts that you will use on a daily basis.
11+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
812
913
</Intro>
1014

src/content/learn/installation.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ title: التثبيت
88

99
</Intro>
1010

11+
<<<<<<< HEAD
1112
## جرب React {/*try-react*/}
1213

1314
لا يلزم تثبيت أي شيء لتجربة React. جرب تعديل هذا الـsandbox!
15+
=======
16+
## Try React {/*try-react*/}
17+
18+
You don't need to install anything to play with React. Try editing this sandbox!
19+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
1420
1521
<Sandpack>
1622

@@ -31,17 +37,42 @@ export default function App() {
3137

3238
تحتوي معظم الصفحات في توثيق React على sandboxes مثل هذا. وفيما عدا توثيق React، هناك العديد من الـsandboxes المتاحة عبر الإنترنت التي تدعم React: على سبيل المثال، [CodeSandbox](https://codesandbox.io/s/new)، [StackBlitz](https://stackblitz.com/fork/react)، أو [CodePen.](https://codepen.io/pen?template=QWYVwWN)
3339

40+
<<<<<<< HEAD
3441
### جرب React محلياً {/*try-react-locally*/}
3542

3643
لتجربة React محلياً على جهازك، [حمّل صفحة ال HTML هذه.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) افتحها في محرر النصوص الخاص بك وفي متصفحك!
3744

3845
## أنشئ تطبيق React {/*creating-a-react-app*/}
3946

4047
إذا أردت بدء مشروع بReact يمكنك [إنشاء تطبيق](/learn/creating-a-react-app) بأحد إطارات العمل التي نرشحها
48+
=======
49+
To try React locally on your computer, [download this HTML page.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Open it in your editor and in your browser!
50+
51+
## Creating a React App {/*creating-a-react-app*/}
52+
53+
If you want to start a new React app, you can [create a React app](/learn/creating-a-react-app) using a recommended framework.
54+
55+
## Build a React App from Scratch {/*build-a-react-app-from-scratch*/}
56+
57+
If a framework is not a good fit for your project, you prefer to build your own framework, or you just want to learn the basics of a React app you can [build a React app from scratch](/learn/build-a-react-app-from-scratch).
58+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
4159
4260
## ابدأ مشروع React من الصفر {/*build-a-react-app-from-scratch*/}
4361

62+
<<<<<<< HEAD
4463
إذا لم تكن إطارات العمل مناسبة لمشروعك أو تُفضل البدء من الصفر، يمكنك [بدء مشروع React من الصفر](/learn/build-a-react-app-from-scratch).
64+
=======
65+
If want to try using React in your existing app or a website, you can [add React to an existing project.](/learn/add-react-to-an-existing-project)
66+
67+
68+
<Note>
69+
70+
#### Should I use Create React App? {/*should-i-use-create-react-app*/}
71+
72+
No. Create React App has been deprecated. For more information, see [Sunsetting Create React App](/blog/2025/02/14/sunsetting-create-react-app).
73+
74+
</Note>
75+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
4576
4677
## إضافة React إلى مشروع موجود {/*add-react-to-an-existing-project*/}
4778

src/content/learn/keeping-components-pure.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,13 @@ import { useState, useEffect } from 'react';
612612
import StoryTray from './StoryTray.js';
613613

614614
const initialStories = [
615+
<<<<<<< HEAD
615616
{id: 0, label: "قصة عنكيت" },
616617
{id: 1, label: "قصة تايلور" },
618+
=======
619+
{id: 0, label: "Ankit's Story" },
620+
{id: 1, label: "Taylor's Story" },
621+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
617622
];
618623

619624
export default function App() {
@@ -708,8 +713,13 @@ import { useState, useEffect } from 'react';
708713
import StoryTray from './StoryTray.js';
709714

710715
const initialStories = [
716+
<<<<<<< HEAD
711717
{id: 0, label: "قصة عنكيت" },
712718
{id: 1, label: "قصة تايلور" },
719+
=======
720+
{id: 0, label: "Ankit's Story" },
721+
{id: 1, label: "Taylor's Story" },
722+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
713723
];
714724

715725
export default function App() {
@@ -774,7 +784,11 @@ li {
774784

775785
```js src/StoryTray.js active
776786
export default function StoryTray({ stories }) {
787+
<<<<<<< HEAD
777788
// انسخ المصفوفة!
789+
=======
790+
// Copy the array!
791+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
778792
const storiesToDisplay = stories.slice();
779793

780794
// لا يؤثر على المصفوفة الأصلية:
@@ -800,8 +814,13 @@ import { useState, useEffect } from 'react';
800814
import StoryTray from './StoryTray.js';
801815

802816
const initialStories = [
817+
<<<<<<< HEAD
803818
{id: 0, label: "قصة عنكيت" },
804819
{id: 1, label: "قصة تايلور" },
820+
=======
821+
{id: 0, label: "Ankit's Story" },
822+
{id: 1, label: "Taylor's Story" },
823+
>>>>>>> d271a7ac11d2bf0d6e95ebdfacaf1038421f9be0
805824
];
806825

807826
export default function App() {

0 commit comments

Comments
 (0)