Capgemini interview question

React hooks and there properties