How is state changed without this.setState method here?

前端 未结 0 1808
谎友^
谎友^ 2021-02-04 14:11
    class ErrorBoundary extends React.Component {
    constructor(props) {
super(props);
this.state = { hasError: false };

}

static getDe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题