Skip to content

Commit 0b0dbd2

Browse files
authored
Update 2022-04-06-react-18-vite-2.9.0-firefox.md
1 parent fc80948 commit 0b0dbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_i18n/ja/_posts/2022/2022-04-06-react-18-vite-2.9.0-firefox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Internet Explorerのサポートが終了されています。
2222
主な変更としてConcurrent Renderingに対応するための変更と新しいAPIが追加されています。
2323
setStateの呼び出しを自動的にバッチ化とopt-outするための`flushSync`を追加、緊急と緊急ではない状態の更新を扱うTransition APIがされています。
2424

25-
クライアントの`ReactDOM.render`とPReactDOM.hydrate`とサーバの`renderToString`はそれぞれ非推奨となっています。
25+
クライアントの`ReactDOM.render``ReactDOM.hydrate`とサーバの`renderToString`はそれぞれ非推奨となっています。
2626
これに対応する新しいAPIとして、クライアントに`createRoot`/`hydrateRoot`、サーバに`renderToPipeableStream`/`renderToReadableStream`が追加されています。
2727

2828
また、`<StrictMode>`が開発時は再マウントをテストする挙動に変更、`useId`/`useSyncExternalStore`/`useInsertionEffect`のHooksの追加なども行われています。

0 commit comments

Comments
 (0)