From eaf234a53b41fa5bb1214548269bdd2cd738daea Mon Sep 17 00:00:00 2001 From: petehunt <floydophone@gmail.com> Date: Mon, 3 Feb 2014 23:33:20 -0800 Subject: [PATCH] more references --- docs/04-multiple-components.md | 2 +- tips/07-children-props-type.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/04-multiple-components.md b/docs/04-multiple-components.md index b69312af..3c9b3ad3 100644 --- a/docs/04-multiple-components.md +++ b/docs/04-multiple-components.md @@ -73,7 +73,7 @@ When you create a React component instance, you can include additional React com <Parent><Child /></Parent> ``` -`Parent` can read its children by accessing the special `this.props.children` prop. +`Parent` can read its children by accessing the special `this.props.children` prop. **`this.props.children` is an opaque data structure:** use the [React.Children utilities](/react/docs/top-level-api.html#react.children) to manipulate them. ### Child Reconciliation diff --git a/tips/07-children-props-type.md b/tips/07-children-props-type.md index 34a77ef5..16edcce5 100644 --- a/tips/07-children-props-type.md +++ b/tips/07-children-props-type.md @@ -49,3 +49,5 @@ var GenericWrapper = React.createClass({ React.renderComponent(<GenericWrapper>hello</GenericWrapper>, mountNode); ``` + +To make `this.props.children` easy to deal with, we've provided the [React.Children utilities](/react/docs/top-level-api.html#react.children).