CommentAug 3, 2017what if I don't call that function? I mean I don't write that function at all. I will do componentDidMount and stop there....what happens....? How exactly these to works...?React Life Cycle: Can you give a scenario where I should use componentWillReceiveProps method?
ReplyAug 3, 20171Thanks a lot :)React Life Cycle: Can you give a scenario where I should use componentWillReceiveProps method?
ReplyAug 3, 2017yeah please, it would be helpful. And one more thing what if I don't call this componentWillReceivePropsReact Life Cycle: Can you give a scenario where I should use componentWillReceiveProps method?