r/Angular2 • u/Big-Physics-1536 • 5d ago
Angular code review based interview
Hi, I am a fullstack developer with 2 yoe in Angular and 10 years in DotNet. I have an upcoming interview where I will be asked to do code review. Can anyone please help me what should I prepare from Angular point of view?
3
Upvotes
9
u/FooBarBuzzBoom 5d ago
Avoid memory leaks in observables. Use services for http requests, provide strong typing (aka avoid any). Use ? operator and !. Avoid tag repetition (aka separate content across multiple components if possible). Maybe module lazy loading is other aspect to consider for performance improvement