Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

App 上的基础组件现在是不会渲染的,也就是说下面的 View 是不会渲染到页面上的。 #1997

Open
fangbicheng opened this issue Mar 21, 2023 · 1 comment

Comments

@fangbicheng
Copy link

          App 上的基础组件现在是不会渲染的,也就是说下面的 View 是不会渲染到页面上的。
class App extends React.Component {
  render() {
    return (
     <View id="app">
        {this.props.children}
      </View>
    );
  }
}

Originally posted by @yesmeck in #189 (comment)

@fangbicheng
Copy link
Author

为什么不会渲染呀?不是已经通过createElement创建了吗?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant