From the official documentation:
An owner is the component that sets the props of other components
Here is an example where A is the owner of B:
var A = React.createClass({ render: function() { return <B />; } });
A is the owner of B because B is created in the A render function.
This is an example where A is the parent of B:
var A = React.createClass({ render: function() { return <div>{this.props.children}</div>; } }); var B = React.createClass({ render: function() { return <span>B</span>; } }); React.render( <A><B /></A>, document.getElementById('example') );
In this example, A is the parent of B, since A props.children contains B. But A does not have direct knowledge that its parent is B, its children can be any components.
source share