You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/blog/2023/05/03/react-canaries.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,11 @@ date: 2023/05/03
5
5
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.
6
6
---
7
7
8
+
<<<<<<< HEAD
8
9
في الثالث من مايو، 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)
Copy file name to clipboardExpand all lines: src/content/blog/2024/10/21/react-compiler-beta-release.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,4 +131,8 @@ Thanks to [Sathya Gunasekaran](https://twitter.com/_gsathya), [Joe Savona](https
131
131
132
132
[^2]: Thanks [Vaishali Garg](https://www.linkedin.com/in/vaishaligarg09) for leading this study on React Compiler at Meta, and for reviewing this post.
133
133
134
+
<<<<<<< HEAD
134
135
[^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.
Copy file name to clipboardExpand all lines: src/content/blog/index.md
+61Lines changed: 61 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,27 +4,88 @@ title: مدونة React
4
4
5
5
<Intro>
6
6
7
+
<<<<<<< HEAD
7
8
هذه المدونة هي المصدر الرسمي لتحديثات فريق React. سيتم نشر التحديثات المهمة هنا أولًا بأول، بما في ذلك ملاحظات الإصدار أو تحذيرات الإيقاف.
8
9
9
10
يمكنك أيضًا متابعة حساب [<spandir="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.
React 19.2 adds new features like Activity, React Performance Tracks, useEffectEvent, and more. In this post ...
44
+
45
+
</BlogCard>
46
+
47
+
<BlogCardtitle="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 ...
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 ...
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 ...
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 ...
Copy file name to clipboardExpand all lines: src/content/community/index.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,4 +33,8 @@ title: من أين تحصل على المساعدة
33
33
34
34
## الأخبار {/*news*/}
35
35
36
+
<<<<<<< HEAD
36
37
لمتابعة آخر الأخبار حول 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.
Copy file name to clipboardExpand all lines: src/content/errors/index.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,4 +7,8 @@ In the minified production build of React, we avoid sending down full error mess
7
7
8
8
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.
9
9
10
+
<<<<<<< HEAD
10
11
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).
Copy file name to clipboardExpand all lines: src/content/learn/add-react-to-an-existing-project.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,19 @@ title: إضافة React إلى مشروع موجود بالفعل
20
20
21
21
هنا ما نوصي به لإعداده:
22
22
23
+
<<<<<<< HEAD
23
24
1.**بناء الجزء الخاص بـ React في تطبيقك** باستخدام إحدى [الإطارات المبنية على React](/learn/creating-a-react-app).
24
25
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/)).
25
26
3.**قم بتكوين خادمك أو بروكسي** بحيث يتم التعامل مع جميع الطلبات تحت `/some-app/` من قبل تطبيق React الخاص بك.
26
27
27
28
يضمن هذا أن الجزء الخاص بـ 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
28
36
29
37
العديد من الإطارات القائمة على React هي إطارات full-stack وتتيح لتطبيق React الخاص بك الاستفادة من الخادم. ومع ذلك، يمكنك استخدام نفس النهج حتى إذا لم تتمكن أو لا تريد تشغيل JavaScript على الخادم. في هذه الحالة
30
38
، قم بتصدير 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 إلى مشروع موجود بالفعل
46
54
47
55
***إذا كان تطبيقك مقسم بالفعل إلى ملفات تستخدم عبارات `import`**، فحاول استخدام الإعداد الذي لديك بالفعل. تحقق مما إذا كان كتابة `<div />` في كود JS الخاص بك يسبب خطأ في البناء. إذا تسبب في خطأ في البناء، فقد تحتاج إلى [تحويل كود JavaScript الخاص بك باستخدام Babel](https://babeljs.io/setup)، وتمكين [Babel React preset](https://babeljs.io/docs/babel-preset-react) لاستخدام JSX.
48
56
57
+
<<<<<<< HEAD
49
58
***إذا لم يكن لتطبيقك إعداد حالي لتجميع وحدات 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
50
62
51
63
للتحقق مما إذا كان إعدادك يعمل، قم بتشغيل هذا الأمر في مجلد مشروعك:
52
64
@@ -63,7 +75,11 @@ npm install react react-dom
63
75
<html>
64
76
<head><title>تطبيقي</title></head>
65
77
<body>
78
+
<<<<<<< HEAD
66
79
<!-- محتوى صفحتك الحالي (في هذا المثال سيتم تبديله) -->
80
+
=======
81
+
<!-- Your existing page content (in this example, it gets replaced) -->
دمج بيئة 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/).
Copy file name to clipboardExpand all lines: src/content/learn/installation.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,15 @@ title: التثبيت
8
8
9
9
</Intro>
10
10
11
+
<<<<<<< HEAD
11
12
## جرب React {/*try-react*/}
12
13
13
14
لا يلزم تثبيت أي شيء لتجربة 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
14
20
15
21
<Sandpack>
16
22
@@ -31,17 +37,42 @@ export default function App() {
31
37
32
38
تحتوي معظم الصفحات في توثيق React على sandboxes مثل هذا. وفيما عدا توثيق React، هناك العديد من الـsandboxes المتاحة عبر الإنترنت التي تدعم React: على سبيل المثال، [CodeSandbox](https://codesandbox.io/s/new)، [StackBlitz](https://stackblitz.com/fork/react)، أو [CodePen.](https://codepen.io/pen?template=QWYVwWN)
33
39
40
+
<<<<<<< HEAD
34
41
### جرب React محلياً {/*try-react-locally*/}
35
42
36
43
لتجربة React محلياً على جهازك، [حمّل صفحة ال HTML هذه.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) افتحها في محرر النصوص الخاص بك وفي متصفحك!
37
44
38
45
## أنشئ تطبيق React {/*creating-a-react-app*/}
39
46
40
47
إذا أردت بدء مشروع ب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
41
59
42
60
## ابدأ مشروع React من الصفر {/*build-a-react-app-from-scratch*/}
43
61
62
+
<<<<<<< HEAD
44
63
إذا لم تكن إطارات العمل مناسبة لمشروعك أو تُفضل البدء من الصفر، يمكنك [بدء مشروع 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
45
76
46
77
## إضافة React إلى مشروع موجود {/*add-react-to-an-existing-project*/}
0 commit comments