A topic · 8 entries
TypeScript
2023 Angular takeUntilDestroyed Migration Guide (with Codemod) Ezz Abuzaid Angular Stop using @ngneat/until-destroy. Migrate to Angular's built-in takeUntilDestroyed with a one-command codemod. Before/after examples included. 2023 TypeScript Compiler API: A Practical Guide Ezz Abuzaid TypeScript Master the TypeScript Compiler API. Learn type checking, AST traversal, code generation, and transformation with practical examples. 2023 Build a Typeahead/Autocomplete Component with RxJS Ezz Abuzaid RxJS Create a fast typeahead search with RxJS. Handle debouncing, caching, keyboard navigation, and API optimization. Full code included. 2023 Angular Infinite Scroll: Directive vs Pipe (with Code) Ezz Abuzaid Angular Two ways to implement infinite scroll in Angular: custom directive vs pipe. Compare performance, pros/cons with working examples. 2023 Build Infinite Scroll with RxJS (Complete Tutorial) Ezz Abuzaid RxJS Create smooth infinite scrolling with RxJS operators. Handle loading states, error recovery, and performance optimization. Full working code. 2022 How to Write Custom ESLint Rules (Step-by-Step Guide) Ezz Abuzaid ESLint Create your own ESLint rules from scratch. Learn AST traversal, rule structure, and testing. Working examples included. 2021 Implement React Context API Pattern in Angular Ezz Abuzaid Angular Bring React's Context API pattern to Angular. Share state across components without prop drilling. Full implementation guide with code. 2021 Angular Dynamic Components: Inputs, Outputs & ngOnChanges Ezz Abuzaid Angular Create dynamic Angular components with full lifecycle support. Handle inputs, outputs, and ngOnChanges in dynamically loaded components.