UpTest > Web Development > ReactJS Test

Test: ReactJS Test

Question 37: Prev Next Hide answers

Which event is best used to update state after props were changed?

forceUpdate
0 votes
componentDidUpdate
0 votes
shouldComponentUpdateState
0 votes
componentWillUpdate
0 votes
componentUpdated 
0 votes
componentWillReceiveProps
2 votes
componentReceivedProps
0 votes
shouldComponentUpdate 
0 votes
Please login to submit your answer.