Infobip interview question

React lifecycle methods