Skip to content

Commit 9f11fed

Browse files
committed
resolve conflicts
1 parent 87e4458 commit 9f11fed

31 files changed

Lines changed: 26 additions & 741 deletions

.eslintrc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@
99
"react-hooks/exhaustive-deps": "error",
1010
"react/no-unknown-property": ["error", {"ignore": ["meta"]}],
1111
"react-compiler/react-compiler": "error",
12-
<<<<<<< HEAD
13-
"local-rules/lint-markdown-code-blocks": "error"
14-
=======
1512
"local-rules/lint-markdown-code-blocks": "error",
1613
"no-trailing-spaces": "error"
17-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
1814
},
1915
"env": {
2016
"node": true,

next.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ const nextConfig = {
1818
experimental: {
1919
scrollRestoration: true,
2020
reactCompiler: true,
21-
<<<<<<< HEAD
22-
=======
2321
},
2422
async rewrites() {
2523
return {
@@ -44,7 +42,6 @@ const nextConfig = {
4442
},
4543
],
4644
};
47-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
4845
},
4946
env: {},
5047
webpack: (config, {dev, isServer, ...options}) => {

package.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@
66
"scripts": {
77
"analyze": "ANALYZE=true next build",
88
"dev": "next-remote-watch ./src/content",
9-
<<<<<<< HEAD
10-
"build": "next build && node --experimental-modules ./scripts/downloadFonts.mjs",
11-
=======
129
"prebuild:rsc": "node scripts/buildRscWorker.mjs",
1310
"build": "node scripts/buildRscWorker.mjs && next build && node --experimental-modules ./scripts/downloadFonts.mjs",
14-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
1511
"lint": "next lint && eslint \"src/content/**/*.md\"",
1612
"lint:fix": "next lint --fix && eslint \"src/content/**/*.md\" --fix",
1713
"format:source": "prettier --config .prettierrc --write \"{plugins,src}/**/*.{js,ts,jsx,tsx,css}\"",
@@ -40,16 +36,10 @@
4036
"classnames": "^2.2.6",
4137
"debounce": "^1.2.1",
4238
"github-slugger": "^1.3.0",
43-
<<<<<<< HEAD
4439
"next": "15.4.8",
4540
"next-remote-watch": "^1.0.0",
4641
"parse-numeric-range": "^1.2.0",
47-
=======
48-
"next": "15.1.12",
49-
"next-remote-watch": "^1.0.0",
50-
"parse-numeric-range": "^1.2.0",
5142
"raw-loader": "^4.0.2",
52-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
5343
"react": "^19.0.0",
5444
"react-collapsed": "4.0.4",
5545
"react-dom": "^19.0.0",
@@ -77,10 +67,7 @@
7767
"babel-eslint": "10.x",
7868
"babel-plugin-react-compiler": "^1.0.0",
7969
"chalk": "4.1.2",
80-
<<<<<<< HEAD
81-
=======
8270
"esbuild": "^0.24.0",
83-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
8471
"eslint": "7.x",
8572
"eslint-config-next": "12.0.3",
8673
"eslint-config-react-app": "^5.2.1",

src/components/MDX/Sandpack/NavigationBar.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,7 @@ export function NavigationBar({
204204
<DownloadButton providedFiles={providedFiles} />
205205
<ReloadButton onReload={handleReload} />
206206
<ClearButton onClear={handleClear} />
207-
<<<<<<< HEAD
208-
<OpenInCodeSandboxButton />
209-
=======
210207
{showOpenInCodeSandbox && <OpenInCodeSandboxButton />}
211-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
212208
{activeFile.endsWith('.tsx') && (
213209
<OpenInTypeScriptPlaygroundButton
214210
content={sandpack.files[activeFile]?.code || ''}

src/components/MDX/Sandpack/template.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,8 @@ root.render(
3535
eject: 'react-scripts eject',
3636
},
3737
dependencies: {
38-
<<<<<<< HEAD
39-
react: '^19.2.0',
40-
'react-dom': '^19.2.0',
41-
=======
4238
react: '^19.2.1',
4339
'react-dom': '^19.2.1',
44-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
4540
'react-scripts': '^5.0.0',
4641
},
4742
},

src/components/MDX/SandpackWithHTMLOutput.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,8 @@ export default function formatHTML(markup) {
5656
const packageJSON = `
5757
{
5858
"dependencies": {
59-
<<<<<<< HEAD
60-
"react": "^19.2.0",
61-
"react-dom": "^19.2.0",
62-
=======
6359
"react": "^19.2.1",
6460
"react-dom": "^19.2.1",
65-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
6661
"react-scripts": "^5.0.0",
6762
"html-format": "^1.1.2"
6863
},

src/components/MDX/TerminalBlock.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,7 @@ function TerminalBlock({level = 'info', children}: TerminalBlockProps) {
7979
</div>
8080
</div>
8181
</div>
82-
<<<<<<< HEAD
83-
<div
84-
=======
8582
<pre
86-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
8783
className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code whitespace-pre overflow-x-auto"
8884
translate="no"
8985
dir="ltr">

src/components/PageHeading.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ import {useState, useEffect} from 'react';
1818
import {useRouter} from 'next/router';
1919
import {IconCanary} from './Icon/IconCanary';
2020
import {IconExperimental} from './Icon/IconExperimental';
21-
<<<<<<< HEAD
22-
=======
2321
import {IconCopy} from './Icon/IconCopy';
2422
import {Button} from './Button';
25-
>>>>>>> 6ec61348646040795fdaa9de14a9bec603260f87
2623

2724
interface PageHeadingProps {
2825
title: string;

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
116115
- [`replace-use-form-state`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-use-form-state)
117-
=======
118-
- [`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.

0 commit comments

Comments
 (0)