How do Angular conditions, such as @if or *ngIf, affect rendering: do they hide elements or do they not add them to the DOM at all?
Frontend
If a change occurs in ngOnChanges with the OnPush strategy, do you need to manually trigger change detection?
What happens after the user enters a URL in the browser and presses Enter, until the final page is rendered?
What happens at the layout, paint, and compositing stages during page rendering?
Mentally run the shown function: what will be printed on the first call and why? How to fix the code to get a sequence of numbers?
What interfaces have you developed and what did they consist of: forms, analytical screens, or something else?
How does a browser determine the type of HTML after receiving it, build the page structure, and connect JavaScript?
How do standalone components differ from Angular's modular architecture?
How do the defer and async attributes affect the loading and execution of scripts, and what other ways can be used to avoid blocking HTML parsing with scripts?
Why are Promise 1 and Promise 2 executed in this particular order? How does the Event Loop handle microtask and macrotask queues?
Do you like layout design? Do you have experience with CSS Grid and Flexbox?
What auxiliary tools, including tools for testing, refactoring, and code review, do you use?
What version of Angular are you using in your project?
What design patterns do you know and have applied, especially in Angular applications?
Have you worked independently with component libraries? Have you created your own libraries?
What does the server return to the browser after a request, including the page itself?
How to organize through a service scenarios where two components need to read the same value or have shared state?
Tell me about Angular component lifecycle hooks in the order they are executed.
What do you read, how do you develop, and where do you follow news in development?
Does it affect the result if one function is an arrow function and the other is a regular function? How do their work with context and closures differ?