File tree Expand file tree Collapse file tree 3 files changed +5
-21
lines changed Expand file tree Collapse file tree 3 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -265,11 +265,7 @@ setCount(count + 1); // Request a re-render with 1
265
265
console .log (count); // Still 0!
266
266
```
267
267
268
- <<<<<<< HEAD
269
268
このおかげで、見逃しやすい小さなバグを回避することができます。ここに小さなチャットアプリがあります。まず「送信」を押して、* 次に* 受信者を「ボブ」に変更したら何が起こるか、推測してみてください。5 秒後の ` alert ` には誰の名前が表示されるでしょうか?
270
- =======
271
- This behavior helps you avoid subtle bugs. Here is a little chat app. Try to guess what happens if you press "Send" first and * then* change the recipient to Bob. Whose name will appear in the ` alert ` five seconds later?
272
- >>>>>>> 6274d4faf5afcef74357871d06191558050e23d3
273
269
274
270
<Sandpack >
275
271
Original file line number Diff line number Diff line change @@ -351,29 +351,21 @@ module.exports = reactCompilerLoader;
351
351
352
352
### Expo {/* usage-with-expo* /}
353
353
354
- <<<<<<< HEAD
355
- Expo は Metro 経由で Babel を使用するため、インストール手順については [ Babel での使用] ( #usage-with-babel ) セクションを参照してください。
356
- =======
357
- Please refer to [ Expo's docs] ( https://docs.expo.dev/preview/react-compiler/ ) to enable and use the React Compiler in Expo apps.
358
- >>>>>>> 6274d4faf5afcef74357871d06191558050e23d3
354
+ Expo アプリで React Compiler を有効化する方法については [ Expo のドキュメント] ( https://docs.expo.dev/preview/react-compiler/ ) を参照してください。
359
355
360
356
### Metro (React Native) {/* usage-with-react-native-metro* /}
361
357
362
358
React Native は Metro 経由で Babel を使用するため、インストール手順については [ Babel での使用] ( #usage-with-babel ) セクションを参照してください。
363
359
364
- <<<<<<< HEAD
365
- ## トラブルシューティング {/* troubleshooting* /}
366
- =======
367
360
### Rspack {/* usage-with-rspack* /}
368
361
369
- Please refer to [ Rspack's docs ] ( https://rspack.dev/guide/tech/react#react-compiler ) to enable and use the React Compiler in Rspack apps.
362
+ Rspack アプリで React Compiler を有効化する方法については [ Rspack のドキュメント ] ( https://rspack.dev/guide/tech/react#react-compiler ) を参照してください。
370
363
371
364
### Rsbuild {/* usage-with-rsbuild* /}
372
365
373
- Please refer to [ Rsbuild's docs ] ( https://rsbuild.dev/guide/framework/react#react-compiler ) to enable and use the React Compiler in Rsbuild apps.
366
+ Rsbuild アプリで React Compiler を有効化する方法については [ Rsbuild のドキュメント ] ( https://rsbuild.dev/guide/framework/react#react-compiler ) を参照してください。
374
367
375
- ## Troubleshooting {/* troubleshooting* /}
376
- >>>>>>> 6274d4faf5afcef74357871d06191558050e23d3
368
+ ## トラブルシューティング {/* troubleshooting* /}
377
369
378
370
問題を報告するには、まず [ React Compiler Playground] ( https://playground.react.dev/ ) で最小限の再現コードを作成し、それをバグ報告に含めてください。問題は [ facebook/react] ( https://github.com/facebook/react/issues ) リポジトリで報告できます。
379
371
Original file line number Diff line number Diff line change @@ -1899,11 +1899,7 @@ export default function Counter() {
1899
1899
}
1900
1900
` ` `
1901
1901
1902
- <<<<<<< HEAD
1903
- カスタムフックを ` useCounter .js ` に記述して、` Counter .js ` ファイルにインポートする必要があります。
1904
- =======
1905
- You'll need to write your custom Hook in ` useCounter .js ` and import it into the ` App .js ` file.
1906
- >>>>>>> 6274d4faf5afcef74357871d06191558050e23d3
1902
+ カスタムフックを ` useCounter .js ` に記述して、` App .js ` ファイルにインポートする必要があります。
1907
1903
1908
1904
<Sandpack>
1909
1905
You can’t perform that action at this time.
0 commit comments