Skip to content

你好,这块儿的写法没看懂,求大神赐教。。 #19

@fangzongwu

Description

@fangzongwu

**const NetInfoDecorator = WrappedComponent => class extends Component {** constructor(props) { super(props) this.state = { isConnected: true, } }
是在函数中返回一个组件吗?把组件的名字作为参数?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions