Skip to content

Commit

Permalink
docs(communication): fix a typo (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-water authored and SangKa committed May 8, 2018
1 parent 23d9919 commit af5307b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/chapter-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function App() {

在这个示例中,`App` 组件中的 `<span>community</span>` 就是 `Title` 组件中的 `children` 属性。注意,如果我们将 `{ children }``Title` 组件中移除,那么 `<span>` 标签将不会渲染。

16.3 版本之前,组件还有一种间接输入,叫做 `context` 。整个 React 组件树可能有一个 `context` 对象,组件树种的每个组件都可以访问它。想了解更多,请阅读 [依赖注入](../chapter-10/README.md) 章节。
16.3 版本之前,组件还有一种间接输入,叫做 `context` 。整个 React 组件树可能有一个 `context` 对象,组件树中的每个组件都可以访问它。想了解更多,请阅读 [依赖注入](../chapter-10/README.md) 章节。

## 输出

Expand Down

0 comments on commit af5307b

Please sign in to comment.