How would you handle technical debt in a growing frontend codebase?

ExperienceSenior UI EngineerSenior Frontend DeveloperFrontend Developer