Sobes.tech

What is the Dependency Injection mechanism in Angular and how have you used it? At what levels and where, besides services, can it be used?

251

How to manage lazy loading in standalone components: does it happen by default or does it need to be configured?

195

How to dynamically load heavy components when switching tabs without changing the routing and pass the necessary dependencies to them via Dependency Injection?

192

Determine the order of console.log output in the shown example with synchronous code, setTimeout, Promise, and function.

179

How was the process of creating interfaces organized: was there a designer, a design system, did you use third-party component libraries?

178

How does JavaScript connect with DOM elements, such as input and button, after the script loads?

166

How does position: absolute affect the rendering chain and compositing layers? Can it be avoided by other means?

164

After receiving the mockups, what did you do next: did you identify reusable components and assemble a UI kit or component library?

159

Analyze the Angular component with FormControl, valueChanges, debounce, and nested user search subscription: what are the problems and how would you refactor it with RxJS or Signals, considering OnPush?

153

If a button is embedded in a clickable card, will both the click handlers of the button and the card be triggered? How to differentiate these events?

150

If a new macrotask is created during the execution of the Event Loop, how and when will it be processed?

150

After clicking the button, data should be requested from the backend: how is this request performed and does it affect the main thread and page re-rendering?

148

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?

148
/2