Skip to content

Commit 4239d58

Browse files
committed
resolve conflicts
1 parent b3674ce commit 4239d58

63 files changed

Lines changed: 13 additions & 1984 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ 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
98
في الثالث من مايو، 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-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
139

1410
---
1511

src/content/blog/2024/04/25/react-19-upgrade-guide.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,7 @@ This will run the following codemods from `react-codemod`:
112112
- [`replace-reactdom-render`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-reactdom-render)
113113
- [`replace-string-ref`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-string-ref)
114114
- [`replace-act-import`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-act-import)
115-
<<<<<<< HEAD
116-
- [`replace-use-form-state`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-use-form-state)
117-
=======
118115
- [`replace-use-form-state`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-use-form-state)
119-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
120116
- [`prop-types-typescript`](https://github.com/reactjs/react-codemod#react-proptypes-to-prop-types)
121117

122118
This does not include the TypeScript changes. See [TypeScript changes](#typescript-changes) below.

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,4 @@ 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
135134
[^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-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87

src/content/blog/2024/12/05/react-19.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,7 @@ We've added two new APIs to `react-dom/static` for static site generation:
330330
- [`prerender`](/reference/react-dom/static/prerender)
331331
- [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream)
332332

333-
<<<<<<< HEAD
334-
These new APIs improve on `renderToString` by waiting for data to load for static HTML generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. For example, in a Web Stream environment, you can prerender a React tree to static HTML with `prerender`:
335-
=======
336333
These new APIs improve on `renderToString` by waiting for data to load for static HTML generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. For example, in a Web Stream environment, you can prerender a React tree to static HTML with `prerender`:
337-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
338334

339335
```js
340336
import { prerender } from 'react-dom/static';
@@ -359,22 +355,14 @@ For more information, see [React DOM Static APIs](/reference/react-dom/static).
359355

360356
Server Components are a new option that allows rendering components ahead of time, before bundling, in an environment separate from your client application or SSR server. This separate environment is the "server" in React Server Components. Server Components can run once at build time on your CI server, or they can be run for each request using a web server.
361357

362-
<<<<<<< HEAD
363-
React 19 includes all of the React Server Components features included from the Canary channel. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a `react-server` [export condition](https://github.com/reactjs/rfcs/blob/main/text/0227-server-module-conventions.md#react-server-conditional-exports) for use in frameworks that support the [Full-stack React Architecture](/learn/creating-a-react-app#which-features-make-up-the-react-teams-full-stack-architecture-vision).
364-
=======
365358
React 19 includes all of the React Server Components features included from the Canary channel. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a `react-server` [export condition](https://github.com/reactjs/rfcs/blob/main/text/0227-server-module-conventions.md#react-server-conditional-exports) for use in frameworks that support the [Full-stack React Architecture](/learn/creating-a-react-app#which-features-make-up-the-react-teams-full-stack-architecture-vision).
366-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
367359

368360

369361
<Note>
370362

371363
#### How do I build support for Server Components? {/*how-do-i-build-support-for-server-components*/}
372364

373-
<<<<<<< HEAD
374-
While React Server Components in React 19 are stable and will not break between minor versions, the underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x.
375-
=======
376365
While React Server Components in React 19 are stable and will not break between minor versions, the underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x.
377-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
378366

379367
To support React Server Components as a bundler or framework, we recommend pinning to a specific React version, or using the Canary release. We will continue working with bundlers and frameworks to stabilize the APIs used to implement React Server Components in the future.
380368

src/content/blog/2025/02/14/sunsetting-create-react-app.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ February 14, 2025 by [Matt Carroll](https://twitter.com/mattcarrollcode) and [Ri
1111

1212
<Intro>
1313

14-
<<<<<<< HEAD
15-
Today, we’re deprecating [Create React App](https://create-react-app.dev/) for new apps, and encouraging existing apps to migrate to a [framework](#how-to-migrate-to-a-framework), or to [migrate to a build tool](#how-to-migrate-to-a-build-tool) like Vite, Parcel, or RSBuild.
16-
=======
1714
Today, we’re deprecating [Create React App](https://create-react-app.dev/) for new apps, and encouraging existing apps to migrate to a [framework](#how-to-migrate-to-a-framework), or to [migrate to a build tool](#how-to-migrate-to-a-build-tool) like Vite, Parcel, or RSBuild.
18-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
1915

2016
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](/learn/build-a-react-app-from-scratch).
2117

@@ -79,11 +75,7 @@ To help get started with Vite, Parcel or Rsbuild, we've added new docs for [Buil
7975

8076
#### Do I need a framework? {/*do-i-need-a-framework*/}
8177

82-
<<<<<<< HEAD
83-
Most apps would benefit from a framework, but there are valid cases to build a React app from scratch. A good rule of thumb is if your app needs routing, you would probably benefit from a framework.
84-
=======
8578
Most apps would benefit from a framework, but there are valid cases to build a React app from scratch. A good rule of thumb is if your app needs routing, you would probably benefit from a framework.
86-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
8779

8880
Just like Svelte has Sveltekit, Vue has Nuxt, and Solid has SolidStart, [React recommends using a framework](#why-we-recommend-frameworks) that fully integrates routing into features like data-fetching and code-splitting out of the box. This avoids the pain of needing to write your own complex configurations and essentially build a framework yourself.
8981

src/content/blog/2025/10/07/react-compiler-1.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -69,29 +69,17 @@ To install the compiler:
6969

7070
npm
7171
<TerminalBlock>
72-
<<<<<<< HEAD
73-
{`npm install --save-dev --save-exact babel-plugin-react-compiler@latest`}
74-
=======
7572
npm install --save-dev --save-exact babel-plugin-react-compiler@latest
76-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
7773
</TerminalBlock>
7874

7975
pnpm
8076
<TerminalBlock>
81-
<<<<<<< HEAD
82-
{`pnpm add --save-dev --save-exact babel-plugin-react-compiler@latest`}
83-
=======
8477
pnpm add --save-dev --save-exact babel-plugin-react-compiler@latest
85-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
8678
</TerminalBlock>
8779

8880
yarn
8981
<TerminalBlock>
90-
<<<<<<< HEAD
91-
{`yarn add --dev --exact babel-plugin-react-compiler@latest`}
92-
=======
9382
yarn add --dev --exact babel-plugin-react-compiler@latest
94-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
9583
</TerminalBlock>
9684

9785
As part of the stable release, we've been making React Compiler easier to add to your projects and added optimizations to how the compiler generates memoization. React Compiler now supports optional chains and array indices as dependencies. These improvements ultimately result in fewer re-renders and more responsive UIs, while letting you keep writing idiomatic declarative code.
@@ -113,29 +101,17 @@ To install:
113101

114102
npm
115103
<TerminalBlock>
116-
<<<<<<< HEAD
117-
{`npm install --save-dev eslint-plugin-react-hooks@latest`}
118-
=======
119104
npm install --save-dev eslint-plugin-react-hooks@latest
120-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
121105
</TerminalBlock>
122106

123107
pnpm
124108
<TerminalBlock>
125-
<<<<<<< HEAD
126-
{`pnpm add --save-dev eslint-plugin-react-hooks@latest`}
127-
=======
128109
pnpm add --save-dev eslint-plugin-react-hooks@latest
129-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
130110
</TerminalBlock>
131111

132112
yarn
133113
<TerminalBlock>
134-
<<<<<<< HEAD
135-
{`yarn add --dev eslint-plugin-react-hooks@latest`}
136-
=======
137114
yarn add --dev eslint-plugin-react-hooks@latest
138-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
139115
</TerminalBlock>
140116

141117
```js {6}
@@ -177,31 +153,19 @@ We have partnered with the Expo, Vite, and Next.js teams to add the compiler to
177153
[Expo SDK 54](https://docs.expo.dev/guides/react-compiler/) and up has the compiler enabled by default, so new apps will automatically be able to take advantage of the compiler from the start.
178154

179155
<TerminalBlock>
180-
<<<<<<< HEAD
181-
{`npx create-expo-app@latest`}
182-
=======
183156
npx create-expo-app@latest
184-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
185157
</TerminalBlock>
186158

187159
[Vite](https://vite.dev/guide/) and [Next.js](https://nextjs.org/docs/app/api-reference/cli/create-next-app) users can choose the compiler enabled templates in `create-vite` and `create-next-app`.
188160

189161
<TerminalBlock>
190-
<<<<<<< HEAD
191-
{`npm create vite@latest`}
192-
=======
193162
npm create vite@latest
194-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
195163
</TerminalBlock>
196164

197165
<br />
198166

199167
<TerminalBlock>
200-
<<<<<<< HEAD
201-
{`npx create-next-app@latest`}
202-
=======
203168
npx create-next-app@latest
204-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
205169
</TerminalBlock>
206170

207171
## Adopt React Compiler incrementally {/*adopt-react-compiler-incrementally*/}

src/content/blog/index.md

Lines changed: 1 addition & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,14 @@ title: مدونة React
44

55
<Intro>
66

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

109
يمكنك أيضًا متابعة حساب [<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-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
1610

1711
</Intro>
1812

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

21-
<<<<<<< HEAD
22-
<BlogCard title="React Conf 2025 Recap" date="October 16, 2025" url="/blog/2025/10/16/react-conf-2025-recap">
23-
=======
2415
<BlogCard title="The React Foundation: A New Home for React Hosted by the Linux Foundation" date="February 24, 2026" url="/blog/2026/02/24/the-react-foundation">
2516

2617
The React Foundation has officially launched under the Linux Foundation.
@@ -29,7 +20,7 @@ The React Foundation has officially launched under the Linux Foundation.
2920

3021
<BlogCard title="Denial of Service and Source Code Exposure in React Server Components" date="December 11, 2025" url="/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components">
3122

32-
Security researchers have found and disclosed two additional vulnerabilities in React Server Components while attempting to exploit the patches in last weeks critical vulnerability...
23+
Security researchers have found and disclosed two additional vulnerabilities in React Server Components while attempting to exploit the patches in last week's critical vulnerability...
3324

3425
</BlogCard>
3526

@@ -57,89 +48,6 @@ Today, we're announcing our plans to create the React Foundation and a new techn
5748

5849
</BlogCard>
5950

60-
<BlogCard title="React 19.2" date="October 1, 2025" url="/blog/2025/10/01/react-19-2">
61-
62-
React 19.2 adds new features like Activity, React Performance Tracks, useEffectEvent, and more. In this post ...
63-
64-
</BlogCard>
65-
66-
<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">
67-
68-
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 ...
69-
70-
</BlogCard>
71-
72-
<BlogCard title="Sunsetting Create React App" date="February 14, 2025" url="/blog/2025/02/14/sunsetting-create-react-app">
73-
74-
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 ...
75-
76-
</BlogCard>
77-
78-
<BlogCard title="React v19 " date="December 5, 2024" url="/blog/2024/12/05/react-19">
79-
80-
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 ...
81-
82-
</BlogCard>
83-
84-
<BlogCard title="React Compiler Beta Release" date="October 21, 2024" url="/blog/2024/10/21/react-compiler-beta-release">
85-
86-
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 ...
87-
88-
</BlogCard>
89-
90-
<BlogCard title="React Conf 2024 Recap" date="May 22, 2024" url="/blog/2024/05/22/react-conf-2024-recap">
91-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
92-
93-
Last week we hosted React Conf 2025. In this post, we summarize the talks and announcements from the event...
94-
95-
</BlogCard>
96-
97-
<<<<<<< HEAD
98-
<BlogCard title="React Compiler v1.0" date="October 7, 2025" url="/blog/2025/10/07/react-compiler-1">
99-
100-
We're releasing the compiler's first stable release today, plus linting and tooling improvements to make adoption easier.
101-
102-
</BlogCard>
103-
104-
<BlogCard title="Introducing the React Foundation" date="October 7, 2025" url="/blog/2025/10/07/introducing-the-react-foundation">
105-
=======
106-
<BlogCard title="React 19 Upgrade Guide" date="April 25, 2024" url="/blog/2024/04/25/react-19-upgrade-guide">
107-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
108-
109-
Today, we're announcing our plans to create the React Foundation and a new technical governance structure ...
110-
111-
</BlogCard>
112-
113-
<BlogCard title="React 19.2" date="October 1, 2025" url="/blog/2025/10/01/react-19-2">
114-
115-
React 19.2 adds new features like Activity, React Performance Tracks, useEffectEvent, and more. In this post ...
116-
117-
</BlogCard>
118-
119-
<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">
120-
121-
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 ...
122-
123-
</BlogCard>
124-
125-
<BlogCard title="Sunsetting Create React App" date="February 14, 2025" url="/blog/2025/02/14/sunsetting-create-react-app">
126-
127-
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 ...
128-
129-
</BlogCard>
130-
131-
<BlogCard title="React v19 " date="December 5, 2024" url="/blog/2024/12/05/react-19">
132-
133-
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 ...
134-
135-
</BlogCard>
136-
137-
<BlogCard title="React Compiler Beta Release" date="October 21, 2024" url="/blog/2024/10/21/react-compiler-beta-release">
138-
139-
أعلنّا عن إصدار تجريبي لـ React Compiler في مؤتمر React Conf 2024. لقد حقّقنا تقدمًا كبيرًا منذ ذلك الحين، وفي هذا المنشور نود مشاركة ما هو القادم لـ React Compiler ...
140-
141-
</BlogCard>
142-
14351
<BlogCard title="ملخص مؤتمر React 2024" date="22 مايو 2024" url="/blog/2024/05/22/react-conf-2024-recap">
14452

14553
الأسبوع الماضي، استضفنا مؤتمر React 2024 الذي استمر ليومين في هندرسون، نيفادا حيث تجمع أكثر من 700 مشارك لمناقشة أحدث المستجدات في هندسة واجهة المستخدم. كان هذا أول مؤتمر حضوري لنا منذ عام 2019، وكنا متحمسين لالتقاء المجتمع معًا مرة أخرى...

0 commit comments

Comments
 (0)