Capgemini interview question

about react fundamentals and react basics