Accenture Interview Question

Basic JS questions like lifecycle methods and there implementation in function based components