Skip to content

Commit fede978

Browse files
committed
Resolve conflicts
1 parent 3df9528 commit fede978

Some content is hidden

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

41 files changed

+70
-677
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@
2121
"postinstall": "is-ci || husky install .husky",
2222
"check-all": "npm-run-all prettier lint:fix tsc rss",
2323
"rss": "node scripts/generateRss.js",
24-
<<<<<<< HEAD
24+
"deadlinks": "node scripts/deadLinkChecker.js",
2525
"textlint": "cd textlint && yarn --frozen-lockfile && yarn textlint",
2626
"textlint-staged": "cd textlint && yarn --frozen-lockfile && yarn textlint-staged --"
27-
=======
28-
"deadlinks": "node scripts/deadLinkChecker.js"
29-
>>>>>>> e07ac94bc2c1ffd817b13930977be93325e5bea9
3027
},
3128
"dependencies": {
3229
"@codesandbox/sandpack-react": "2.13.5",

src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,7 @@ Activity はまだ研究中であり、残された作業は、ライブラリ
107107

108108
このアップデートに加えて、私たちのチームはカンファレンスでの発表やポッドキャストへの出演を通じ、我々の作業についてお伝えし、質問にお答えしています。
109109

110-
<<<<<<< HEAD
111-
- [Sathya Gunasekaran](/community/team#sathya-gunasekaran)[React India](https://www.youtube.com/watch?v=kjOacmVsLSE) カンファレンスで React コンパイラについて話しました。
112-
=======
113-
- [Sathya Gunasekaran](https://github.com/gsathya) spoke about the React Compiler at the [React India](https://www.youtube.com/watch?v=kjOacmVsLSE) conference
114-
>>>>>>> e07ac94bc2c1ffd817b13930977be93325e5bea9
110+
- [Sathya Gunasekaran](https://github.com/gsathya)[React India](https://www.youtube.com/watch?v=kjOacmVsLSE) カンファレンスで React コンパイラについて話しました。
115111

116112
- [Dan Abramov](/community/team#dan-abramov)[RemixConf](https://www.youtube.com/watch?v=zMf_xeGPn6s) で "React from Another Dimension" というタイトルの講演を行い、React Server Components やアクションの成立に際してありえたかもしれない別の歴史について紹介しました。
117113

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

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,11 @@ npm install -D eslint-plugin-react-compiler@beta
7272
yarn add -D eslint-plugin-react-compiler@beta
7373
</TerminalBlock>
7474

75-
<<<<<<< HEAD
76-
インストール後、[ESLint の設定ファイルに記載を追加することでリンタを有効にできます](/learn/react-compiler#installing-eslint-plugin-react-compiler)。リンタを使用することで、React のルールに対する違反を特定でき、コンパイラが完全にリリースされる際の導入が容易になります。
77-
=======
78-
After installation you can enable the linter by [adding it to your ESLint config](/learn/react-compiler/installation#eslint-integration). Using the linter helps identify Rules of React breakages, making it easier to adopt the compiler when it's fully released.
79-
>>>>>>> e07ac94bc2c1ffd817b13930977be93325e5bea9
75+
インストール後、[ESLint の設定ファイルに記載を追加することでリンタを有効にできます](/learn/react-compiler/installation#eslint-integration)。リンタを使用することで、React のルールに対する違反を特定でき、コンパイラが完全にリリースされる際の導入が容易になります。
8076

8177
## 後方互換性 {/*backwards-compatibility*/}
8278

83-
<<<<<<< HEAD
84-
React Compiler は React 19 に追加されたランタイム API に依存するコードを生成しますが、React 17 および 18 でもコンパイラが動作するようにサポートを追加しました。ベータ版では、まだ React 19 に移行していない場合でも、コンパイラ設定で小さな `target` を指定し、`react-compiler-runtime` を依存ライブラリとして追加することで、React Compiler を試すことができます。[これに関するドキュメントはこちらでご覧いただけます](/learn/react-compiler#using-react-compiler-with-react-17-or-18)
85-
=======
86-
React Compiler produces code that depends on runtime APIs added in React 19, but we've since added support for the compiler to also work with React 17 and 18. If you are not on React 19 yet, in the Beta release you can now try out React Compiler by specifying a minimum `target` in your compiler config, and adding `react-compiler-runtime` as a dependency. [You can find docs on this here](/reference/react-compiler/configuration#react-17-18).
87-
>>>>>>> e07ac94bc2c1ffd817b13930977be93325e5bea9
79+
React Compiler は React 19 に追加されたランタイム API に依存するコードを生成しますが、React 17 および 18 でもコンパイラが動作するようにサポートを追加しました。ベータ版では、まだ React 19 に移行していない場合でも、コンパイラ設定で小さな `target` を指定し、`react-compiler-runtime` を依存ライブラリとして追加することで、React Compiler を試すことができます。[これに関するドキュメントはこちらでご覧いただけます](/reference/react-compiler/configuration#react-17-18)
8880

8981
## ライブラリでの React Compiler の使用 {/*using-react-compiler-in-libraries*/}
9082

@@ -94,11 +86,7 @@ React Compiler はライブラリのコンパイルにも使用できます。Re
9486

9587
ライブラリのコードが事前にコンパイルされていれば、ライブラリのユーザはコンパイラを有効にしなくても、ライブラリに適用された自動メモ化の恩恵を受けることができます。ライブラリがまだ React 19 に移行していないアプリを対象としている場合、最小の `target` を指定し、`react-compiler-runtime` を dependency として直接追加してください。ランタイムパッケージはアプリケーションのバージョンに応じて正しい API の実装を使用し、必要に応じて欠けている API をポリフィルします。
9688

97-
<<<<<<< HEAD
98-
[これに関するドキュメントはこちら](/learn/react-compiler#using-the-compiler-on-libraries)
99-
=======
100-
[You can find more docs on this here.](/reference/react-compiler/compiling-libraries)
101-
>>>>>>> e07ac94bc2c1ffd817b13930977be93325e5bea9
89+
[これに関するドキュメントはこちら](/reference/react-compiler/compiling-libraries)
10290

10391
## React Compiler Working Group を全員に開放 {/*opening-up-react-compiler-working-group-to-everyone*/}
10492

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ title: 既存プロジェクトに React を追加する
2424
2. フレームワークの設定で `/some-app`***base path* に指定**します(方法:[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/))。
2525
3. **サーバまたはプロキシを設定**して、`/some-app/` 以下のすべてのリクエストを React アプリで処理するようにします。
2626

27-
<<<<<<< HEAD
28-
こうすることで、アプリの React 部分がこれらのフレームワークに組み込まれた[ベストプラクティスを最大限に取り入れる](/learn/start-a-new-react-project#can-i-use-react-without-a-framework)ことができます。
29-
=======
30-
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.
31-
>>>>>>> e07ac94bc2c1ffd817b13930977be93325e5bea9
27+
こうすることで、アプリの React 部分がこれらのフレームワークに組み込まれた[ベストプラクティスを最大限に取り入れる](/learn/build-a-react-app-from-scratch#consider-using-a-framework)ことができます。
3228

3329
多くの React ベースのフレームワークはフルスタックであり、React アプリがサーバ機能を活用できるようになっています。ただし、サーバで JavaScript を実行できない場合や実行したくない場合でも、同じアプローチが使用できます。この場合、エクスポートされた HTML/CSS/JS(Next.js の場合は [`next export` 出力](https://nextjs.org/docs/advanced-features/static-html-export)、Gatsby の場合はデフォルト)を `/some-app` としてサーブします。
3430

0 commit comments

Comments
 (0)