Other Companies (Name Not Shared) Angular Interview Questions for 6+ years
Shared question set for 6+ years of experience, Service-based company (Angular + React). Topics and wording follow the supplied notes; these are questions, not official company guidance.
- Explain the JavaScript execution context and call stack.
- Event loop: what is the difference between macro tasks and microtasks?
- Closures: what are real-world use cases?
- Hoisting: how does it work with var, let, const?
- Shallow vs deep copy: how do you implement both? Does JSON.parse(JSON.stringify(object)) work properly? Have you used structuredClone()?
- Debounce vs throttle: where have you used them?
- How does a memory leak happen in JS applications?
- What is the difference between any, unknown, and never?
- When do you use Partial<T>, Required<T>, Readonly<T>?
- Union vs intersection types: what are the real use cases?
- Generics: why and where have you used them?
- What is the difference between interface and type?
- Explain Angular architecture and the building blocks of Angular.
- What is the difference between module-based and standalone components?
- Explain the change detection strategy. What will change now with Signals?
- Lifecycle hooks: what are the use cases of afterViewInit and ngOnChanges?
- Reactive forms: dynamic form controls and reacting to control value changes.
- What is ControlValueAccessor?
- How do you handle API-related errors in a single place?
- RxJS scenario-based questions with switchMap, mergeMap, forkJoin, combineLatest.
- Explain lazy loading in the case of modules and in the case of standalone components.
- How do Signals differ from Observables?
- What are Angular performance optimization techniques?
- What is the difference between class and functional components?
- Hooks: useState, useEffect, useMemo, useCallback.
- What are common mistakes with the dependency array in useEffect?
- What are props?
- What are controlled vs uncontrolled components?
- Context API: when do you use it?
- What is your basic understanding of Redux?
- Component re-rendering: how do you control it?
- How does React handle the virtual DOM?
- Angular signal and React useState: what common things do you find?