ComponentDidUpdate() keeps looping

前端 未结 0 1959
感动是毒
感动是毒 2021-02-05 16:51
class RatingsComponent extends Component{
    componentDidMount(){
        console.log("inside component did MOUNT")
        this.props.fetchReviews()
    }

          


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