官方文档里的一段话:
Not to be confused with the render() function that you define on your component (and which returns a virtual DOM element), ReactDOM.render() will return a reference to your component’s backing instance (or null for stateless components).
这里的ReactDOM.render()返回的是什么的引用? backing instance指什么?
还有,我在componentDidMount方法里面根据this.refs.__获取到的自定义组件,怎么样才能取到它的真实dom节点属性。对于一般的标签如input是可以直接取到的,但是自定义组件直接取不到。
试了一下直接打印,打印出的 ReactDOM.render() 和componentDidMount方法获取到的自定义组件是一种类型的。