Skip to content

Decoded Frontend - Angular Interview Hacking %21%21top%21%21 Here

Mention makeStateKey to ensure type safety. This proves you ship production-scale apps.

private destroy$ = new Subject<void>();

"How do you convert a legacy NgModule app to Standalone without breaking everything?" Decoded Frontend - Angular Interview Hacking %21%21TOP%21%21

@Component( changeDetection: ChangeDetectionStrategy.OnPush ) export class SmartComponent @Input() data: User[]; Mention makeStateKey to ensure type safety

"We had a table with 10,000 rows. The CD was running 40 times per second. I realized Zone.js was triggering on every mouseenter event due to a third-party library. I migrated the table to OnPush and used trackBy with a custom signal store. Within one sprint, we went from 200ms frame drops to 16ms smooth scrolling. The key was isolating the reactive zone to only the visible viewport using @defer ." The CD was running 40 times per second

When using TransferState to pass data from server to client to avoid re-fetching data.