React 获取this.props.children 的对象实例

#1

< Com ref=“node” />
就像ref 一样可以获取对象实例
ref 方法获取对象实例后 就可以看到实例的内部属性, 比如 state 之类的