Front-End Engineer (React): debugging to optimize performance