Open fangbicheng opened 1 year ago
App 上的基础组件现在是不会渲染的,也就是说下面的 View 是不会渲染到页面上的。
class App extends React.Component { render() { return ( <View id="app"> {this.props.children} </View> ); } }
Originally posted by @yesmeck in https://github.com/remaxjs/remax/issues/189#issuecomment-526794600
为什么不会渲染呀?不是已经通过createElement创建了吗?
Originally posted by @yesmeck in https://github.com/remaxjs/remax/issues/189#issuecomment-526794600