Skip to content

Commit 90b1174

Browse files
author
seiyatakahashi
committed
titleを日本語へ翻訳
1 parent 03180af commit 90b1174

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

content/blog/2020-02-26-react-v16.13.0.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ redirect_from:
77

88
本日、React 16.13.0 をリリースします。このリリースには、今後のメジャーリリースに備えて、バグ修正と新しい非推奨の警告が含まれています。
99

10-
## New Warnings {#new-warnings}
10+
## 新規注意事項 {#new-warnings}
1111

12-
### Warnings for some updates during render {#warnings-for-some-updates-during-render}
12+
### レンダリング中のいくつかの更新に関する注意点{#warnings-for-some-updates-during-render}
1313

1414
React コンポーネントは、レンダリング中に他のコンポーネントに副作用を与えてはいけません。
1515

@@ -21,7 +21,7 @@ Warning: Cannot update a component from inside the function body of a different
2121

2222
**この警告は、意図しない状態変更によって引き起こされるアプリケーションのバグを見つけるのに役立ちます。**レンダリングの結果として他のコンポーネントの状態を意図的に変更したい場合は、`setState`呼び出しを`useEffect`にラップすることができます。
2323

24-
### Warnings for conflicting style rules {#warnings-for-conflicting-style-rules}
24+
### スタイルルールが矛盾している場合の注意点{#warnings-for-conflicting-style-rules}
2525

2626
CSSプロパティのlonghandとshorthandを含む `style` を動的に適用する場合、特定の更新の組み合わせにより、スタイリングの一貫性が失われることがあります。例えば、以下のようになります。
2727

@@ -40,7 +40,7 @@ CSSプロパティのlonghandとshorthandを含む `style` を動的に適用す
4040
**Reactは、スタイルルールの競合を検出し、警告をログに記録するようになりました。**
4141
警告が検出されたソースコードを修正するには、同じCSSプロパティのshortandとlonghandのバージョンを`style`プロップに混在させないようにしてください。
4242

43-
### Warnings for some deprecated string refs {#warnings-for-some-deprecated-string-refs}
43+
### いくつかの非推奨文字列 refs に関する注意点{#warnings-for-some-deprecated-string-refs}
4444

4545
[String Refs は古いバージョンのAPI](/docs/refs-and-the-dom.html#legacy-api-string-refs)は開発者に気に入れられておらず、将来的には非推奨になりそうです。
4646

@@ -109,7 +109,7 @@ class ClassParent extends React.Component {
109109
>
110110
> If you use Create React App or have the "react" preset with Babel 7+, you already have this plugin installed by default.
111111
112-
### Deprecating `React.createFactory` {#deprecating-reactcreatefactory}
112+
### `React.createFactory`は推奨しない{#deprecating-reactcreatefactory}
113113

114114
[`React.createFactory`](/docs/react-api.html#createfactory) はReact要素を作成するための旧版のルパーです。このリリースでは、メソッドに非推奨の警告が追加されています。これは将来のメジャーバージョンで削除される予定です。
115115

@@ -121,15 +121,15 @@ let createFactory = type => React.createElement.bind(null, type);
121121

122122
全く同じことをしています。
123123

124-
### Deprecating `ReactDOM.unstable_createPortal` in favor of `ReactDOM.createPortal` {#deprecating-reactdomunstable_createportal-in-favor-of-reactdomcreateportal}
124+
### `ReactDOM.unstable_createPortal``ReactDOM.createPortal`に変更することを推奨しない{#deprecating-reactdomunstable_createportal-in-favor-of-reactdomcreateportal}
125125

126126
React 16がリリースされたとき、`createPortal`は公式にサポートされるAPIになりました。
127127

128128
しかし、`unstable_createPortal`を採用している少数のライブラリが動作するように、`unstable_createPortal`をサポートされたエイリアスとして残していました。現在、この不安定なエイリアスは非推奨となっています。`unstable_createPortal` の代わりに `createPortal` を直接使ってください。これは全く同じシグネチャを持っています。
129129

130-
## Other Improvements {#other-improvements}
130+
## その他の改良事項 {#other-improvements}
131131

132-
### Component stacks in hydration warnings {#component-stacks-in-hydration-warnings}
132+
### hydrationの警告におけるコンポーネントスタック{#component-stacks-in-hydration-warnings}
133133

134134
React は開発警告にコンポーネントスタックを追加し、開発者がバグを分離してプログラムをデバッグできるようにします。今回のリリースでは、以前はなかった多くの開発警告にコンポーネントスタックが追加されました。例として、以前のバージョンにあったこのハイドレーション警告を考えてみましょう。
135135

@@ -141,7 +141,7 @@ React は開発警告にコンポーネントスタックを追加し、開発
141141

142142
これにより、問題がどこにあるのかが明確になり、より早くバグの場所を特定して修正することができます。
143143

144-
### Notable bugfixes {#notable-bugfixes}
144+
### 注目すべきバグ修正 {#notable-bugfixes}
145145

146146
このリリースには、他にもいくつかの注目すべき改善点が含まれています。
147147

@@ -156,7 +156,7 @@ React は開発警告にコンポーネントスタックを追加し、開発
156156
これらの問題やその他の問題を解決してくれた貢献者に感謝します。完全なchangelog [下記](#changelog)を参照してください。
157157

158158

159-
## Installation {#installation}
159+
## インストール {#installation}
160160

161161
### React {#react}
162162

@@ -183,7 +183,7 @@ npm install --save react@^16.13.0 react-dom@^16.13.0
183183

184184
[詳細のスクリプト設置方法](/docs/installation.html)については、説明書を参照してください。
185185

186-
## Changelog {#changelog}
186+
## 変更履歴 {#changelog}
187187

188188
### React {#react}
189189

0 commit comments

Comments
 (0)