Skip to content

Commit 41756fa

Browse files
author
betamee
committed
update
2 parents fec9b1a + 152dd35 commit 41756fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ class MyClass extends React.Component {
243243

244244
`embed:context/reference-caveats-solution.js`
245245

246-
## 废弃 API {#legacy-api}
246+
## 过时的 API {#legacy-api}
247247

248248
> 注意
249249
>
250-
> 先前 React 使用实验性的 context API 运行,旧的API将会在所有16.x版本中得到支持,但用到它的应用应该迁移到新版本。废弃的API将在未来的 React 版本中被移除。阅读[废弃的 context 文档](/docs/legacy-context.html)了解更多。
250+
> 先前 React 使用实验性的 context API 运行,旧的 API 将会在所有 16.x 版本中得到支持,但用到它的应用应该迁移到新版本。过时的 API 将在未来的 React 版本中被移除。阅读[过时的 context 文档](/docs/legacy-context.html)了解更多。
251251

0 commit comments

Comments
 (0)