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
Advanced Guard to manage permissions
#angular #guard
🚩 > Angular 14
✅ Link: https://medium.com/@thomas.laforge/create-a-route-guard-to-manage-permissions-26f16cc9a1ca
CSS throttle
#css #keyframes #throttle
✅ Link: https://medium.com/@waterfish/how-to-use-throttle-with-css-instead-of-javascript-20244997cd51
WeakRef
A WeakRef object contains a weak reference to an object, which is called its target or referent. A weak reference to an object is a reference that does not prevent the object from being reclaimed by the garbage collector. In contrast, a normal (or strong) reference keeps an object in memory. When an object no longer has any strong references to it, the JavaScript engine's garbage collector may destroy the object and reclaim its memory. If that happens, you can't get the object from a weak reference anymore. This example starts a counter shown in a DOM element, stopping when the element doesn’t exist anymore.#angular #weakref ✅ Link: https://medium.com/@bluetch/javascript-es6-es7-es8-es9-es10-es11-and-es12-519d8be7d48c
⚠️ SOLID in Angular
#angular #solid
✅ Link: https://medium.com/williambastidasblog/how-to-apply-solid-design-principles-in-angular-for-clean-maintainable-code-51227b51f317
⚠️ ShareReply of RxJs Realtime example
#angular #rxjs #shareReplay
✅ Link: https://medium.com/@piyalidas.it/sharereply-4df28d6d54a8
⚠️ Any RxJs stream can trigger an Effect
#angular #ngrx
✅ Link: https://christianlydemann.com/ngrx-industry-best-practices/
⚠️ Difference between ngOnInit() and constructor()
#angular
✅ Link: https://jhapriti09.medium.com/what-is-the-difference-between-constructor-and-ngoninit-839748fc59ce
Custom Directive for Select Component Options with ControlValueAccessor
#angular #directive
🚩 > Angular 14
✅ Link: https://netbasal.com/why-directives-are-the-go-to-choice-for-select-component-options-reuse-in-angular-36feffbcc7da
iif operator
#angular #rxjs #iif
✅ Link: https://medium.com/@yuvayuvaraj720444/rxjs-operator-05-iff-operator-4a486b298345Structural Directive to manage permissions
#angular #directive
✅ Link: https://medium.com/@thomas.laforge/create-a-custom-structural-directive-to-manage-permissions-like-a-pro-11a1acad30ad
Handle internet connection lost
#angular #interceptor
✅ Link: https://medium.com/@ivandztitan/handle-internet-connection-lost-and-server-issues-with-angular-interceptor-d5d00fa78ce6
Route Reuse Strategy in Angular
#angular #router #RouteReuseStrategy
✅ Link: https://blog.bitsrc.io/angular-route-reuse-strategy-c7939ebbf797
CSS :has() examples
#css #has
✅ Link: https://levelup.gitconnected.com/4-ways-css-has-can-make-your-html-forms-even-better-350f03fa5821
Send Data Through Routing
#angular #router
✅ Link: https://medium.com/@deepachaurasia33/possible-ways-to-send-data-through-routing-in-angular-f1f72742c2da
СSS Container Queries
#css #container
✅ Link: https://javascript.plainenglish.io/css-container-queries-3393fbeb6ea8
