react在哪些情况下调用this.setState会导致死循环

react在哪些情况下调用this.setState会导致死循环

1.componentWillUpdate

2.componentDidUpdate

3.render

评论

暂无评论