Angular 🇺🇦 - practical notes
Ir al canal en Telegram
Angular - practical notes This group is for posting practical notes for Angular developers. Mostly all posts are for quick implementation https://t.me/angular_practical_notes (Commenting on posts only in ENG and UA langs here). Welcome!
Mostrar más1 631
Suscriptores
Sin datos24 horas
+17 días
Sin datos30 días
Archivo de publicaciones
Required Input in Angular v.16
#angular #input
🚩 > Angular 16
✅ Link: https://akhilabhinav.medium.com/required-input-in-angular-v-16-344e5987d759
Functional Route Guards in Angular
#angular #guard
🚩 > Angular 15
✅ Link: https://medium.com/ngconf/functional-route-guards-in-angular-8829f0e4ca5c
TypeScript 5.0 Decorators
📄 The TypeScript 5.0 release, officially supports the Phase 3 decorator proposal. The proposal has four stages, which means it stabilizes quickly without major changes to the API. In this article, we will explore based on these stable APIs.
#typescript #decorators
✅ Link: https://medium.com/@islizeqiang/a-quick-guide-to-typescript-5-0-decorators-d06cabe09e8c
Content Projection with Dynamic components in Angular
#angular #viewContainerRef #directive #ng_content
✅ Link: https://medium.com/@zeeshankhan8838/content-projection-through-dynamic-components-in-angular-e6465c728e20
Interceptors in A15
#angular #interceptor
🚩 > Angular 15
✅ Link: https://blog.herodevs.com/angular-15-introduces-functional-http-interceptors-59299cce60bf
Angular resolvers: old and new approaches
#angular #resolver
🚩 > Angular 16
✅ Link: https://itnext.io/bind-route-info-to-component-inputs-new-router-feature-1d747e559dc4
App’s Performance by Wrapping Functions Inside a Pipe
#angular #pipe
✅ Link: https://medium.com/ngconf/boost-your-apps-performance-by-wrapping-your-functions-inside-a-pipe-7e889a901d1d
Angular "hooks" with
inject()
#angular #renderer2 #inject
🚩 > Angular 14
✅ Link: https://medium.com/@kamil.galek/mythical-angular-what-you-can-do-with-angular-14-inject-function-a22786924bfeSanitization Pipe in Angular
#angular #pipe #DomSanitizer
✅ Link: https://medium.com/@zeeshankhan8838/best-practices-in-angular-b9e8f88ee1fa
withComponentInputBinding in Angular
Angular v16 has introduced a powerful new feature that enables the automatic binding of router information, such as query parameters, path parameters, static data, and resolver data to a routed component’s inputs.
#angular #routing #withComponentInputBinding
🚩 > Angular 16
✅ Link: https://netbasal.com/binding-router-information-to-routed-component-inputs-in-angular-78ee92f63e64Command Pattern in TypeScript
#ts #patterns #command
✅ Link: https://levelup.gitconnected.com/design-patterns-command-pattern-in-typescript-10b3162e3bee
Factory async function with ability of cancelling
#js #promise #AbortController
function asyncWithAbort(promiseFn, signal){
if (signal?.aborted){
return Promise.reject(new DOMException("Aborted", "AbortError"));
}
return new Promise((resolve, reject) => {
promiseFn().then(resovle).catch(reject);
signal?.addEventListener("abort", () => {
reject(new DOMException("Aborted", "AbortError"));
});
});
}
✅ Link: https://javascript.plainenglish.io/best-practices-for-using-abortcontroller-87892b72d07eAsync Validator in Angular
#angular #validator #InjectionToken
🚩 > Angular 14
✅ Link: https://netbasal.com/optimizing-angular-form-validation-with-lazy-load-61265536a6f2
Terminating Promise
#js #promise #AbortController
✅ Link: https://javascript.plainenglish.io/best-practices-for-using-abortcontroller-87892b72d07e
Table Sort Directive in Angular
#angular #directive
✅ Link: https://stackblitz.com/edit/angular-sz9lie?file=src%2Fapp%2Ftable-sort.directive.ts
Canceling DOM Events
#js #addEventListener #AbortController
✅ Link: https://javascript.plainenglish.io/best-practices-for-using-abortcontroller-87892b72d07e
Canceling Requests in JS...TS
#js #fetch #AbortController
✅ Link: https://javascript.plainenglish.io/best-practices-for-using-abortcontroller-87892b72d07e
Parallax scrolling in CSS
#css #parallax
✅ Link: https://codepen.io/keithclark/pen/ndEygj
NGRX immutability with Immer
#angular #ngrx #immer
⚠️ Third-Party Lib
✅ Link: https://medium.com/@daniel.glejzner/make-your-angular-ngrx-reducers-an-eye-candy-using-fantastic-library-f4ac41aea6af
CSS gradient
#css #keyframes #gradient
✅ Link: https://codepen.io/mitchobert/pen/ogYBLo
