ValueLabs interview question

Javascript depth React lifecyle optimization tech