File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -265,11 +265,7 @@ setCount(count + 1); // Request a re-render with 1
265265console .log (count); // Still 0!
266266```
267267
268- <<<<<<< HEAD
269268このおかげで、見逃しやすい小さなバグを回避することができます。ここに小さなチャットアプリがあります。まず「送信」を押して、* 次に* 受信者を「ボブ」に変更したら何が起こるか、推測してみてください。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
273269
274270<Sandpack >
275271
Original file line number Diff line number Diff line change @@ -351,29 +351,21 @@ module.exports = reactCompilerLoader;
351351
352352### Expo {/* usage-with-expo* /}
353353
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/ ) を参照してください。
359355
360356### Metro (React Native) {/* usage-with-react-native-metro* /}
361357
362358React Native は Metro 経由で Babel を使用するため、インストール手順については [ Babel での使用] ( #usage-with-babel ) セクションを参照してください。
363359
364- <<<<<<< HEAD
365- ## トラブルシューティング {/* troubleshooting* /}
366- =======
367360### Rspack {/* usage-with-rspack* /}
368361
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 ) を参照してください。
370363
371364### Rsbuild {/* usage-with-rsbuild* /}
372365
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 ) を参照してください。
374367
375- ## Troubleshooting {/* troubleshooting* /}
376- >>>>>>> 6274d4faf5afcef74357871d06191558050e23d3
368+ ## トラブルシューティング {/* troubleshooting* /}
377369
378370問題を報告するには、まず [ React Compiler Playground] ( https://playground.react.dev/ ) で最小限の再現コードを作成し、それをバグ報告に含めてください。問題は [ facebook/react] ( https://github.com/facebook/react/issues ) リポジトリで報告できます。
379371
Original file line number Diff line number Diff line change @@ -1899,11 +1899,7 @@ export default function Counter() {
18991899}
19001900` ` `
19011901
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 ` ファイルにインポートする必要があります。
19071903
19081904<Sandpack>
19091905
You can’t perform that action at this time.
0 commit comments