Angular 🇺🇦 - practical notes
Відкрити в 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!
Показати більше1 631
Підписники
Немає даних24 години
+17 днів
Немає даних30 днів
Архів дописів
📄 Microtask Queue + RxJS + Angular: How it works
#angular #ngZone #microTask #macroTask
In the context of Angular, the framework doesn’t directly use the root zone. Instead, Angular creates its specialized zone by forking the root zone.
This forked zone, known as NgZone or sometimes referred to as the "inner zone," is augmented with Angular-specific behaviors. It's within this NgZone that Angular tracks changes and decides when to run its change detection.
The ability to fork zones and create this hierarchical structure is powerful. It allows for modular and layered tracking of asynchronous operations.
For instance, while the root zone might provide basic tracking, child zones (like NgZone) can introduce application-specific behaviors without affecting the broader tracking mechanisms.
In Angular’s case, the NgZone ensures that the framework can efficiently track changes and update the UI, building upon the foundational capabilities of the root zone.
✅ Article link: https://itnext.io/microtask-queue-rxjs-angular-ac3d8612d3f6
🧪 Angular — New Control Flow
#angular #controlFlow
🚩 > Angular v17.0.0-next.8
✅ Article link: https://blog.stackademic.com/angular-new-control-flow-with-a-working-example-72cc0a860988
🎁 Code link: https://github.com/Madhust/angular-control-flows/
📄 JS 5 Most Exciting ES13 Features
#js #await
✅ Article link: https://javascript.plainenglish.io/5-most-exciting-es13-features-you-should-know-about-c1c304f4ce02
📄 Angular Signals for Global State
#angular
✅ Article link: https://jamienordmeyer.medium.com/using-angular-signals-for-global-state-2eb51463fab2
🧪 Angular’s Future, Functional Components, Stable Signals
#angular
✅ Article link: https://medium.com/ng-news/episode-23-40-angulars-future-functional-components-stable-signals-da6c608515bb
🎁 Brandon Roberts: https://twitter.com/brandontroberts/status/1710773567565050310
🧪 Control Flow Migration Schematic
#angular #html #controlFlow
🤔 How to use it?
As with any other schematic, you have to run the generate command through the CLI and use the control-flow schematic (you need to be using 17.0.0-next.8 or 17.0.0-rc.0 for this command to run).
ng g @angular/core:control-flow🚩 > Angular v17.0.0-next.8 ✅ Article link: https://blog.herodevs.com/new-in-angular-control-flow-migration-schematic-57979ebeaa71
🤓 Preventing Memory Leaks in Angular
#angular
✅ Article link: https://itnext.io/new-angular-17-feature-deferred-loading-156d472b008b
🧪 New Angular 17 feature: deferred loading
#angular #html #controlFlow
🚩 > Angular v17.0.0-next.8
✅ Article link: https://itnext.io/new-angular-17-feature-deferred-loading-156d472b008b
🎁 Code link: https://github.com/gergelyszerovay/angular-17-deferred-loading
📄 Angular carousel
#angular #ui_element
✅ Article link: https://medium.com/@su.ede.kovacs/angular-carousel-e6953aa38f77
🎁 Code link: https://stackblitz.com/edit/angular-dy6ybx?file=src%2Fcarousel.component.ts
🤓 Tree Shaking in Angular.
#angular
✅ Article link: https://venuvudu.medium.com/tree-shaking-in-angular-63a34e7384fd
🧪 Matching in JavaScript
#js #match
Pattern matching allows you to match against the shape and contents of a value in a single expression. It provides a more concise alternative to chained if-else statements and switch cases.
🚩 JS PROPOSAL
✅ Article link: https://medium.com/@techsuneel99/goodbye-if-else-hello-pattern-matching-in-javascript-proposal-e8682458d863
📄 JS Generators: Practical Example - Infinite Scrolling
#js #generators #yield
// CSS code
.post {
height: 300px;
}
// HTML code
<div id="postsContainer"></div>
✅ Article link: https://blog.stackademic.com/dont-be-afraid-of-javascript-generators-15c998aea652📄 FE Optimization Techniques
#js #sprite #gzip #cdn
✅ Article link: https://blog.bitsrc.io/javascript-optimization-techniques-for-faster-website-load-times-an-in-depth-guide-cd2985194a07
🤓 Resolution Modifiers in Angular
#angular #decorators #Self #Host #Optional #SkipSelf
✅ Article link: https://blog.stackademic.com/resolution-modifiers-in-angular-ec83f22694da
🤓 NgRx Action Group Creator
#angular #ngrx #createActionGroup
🚩 > NgRx v13
✅ Article link: https://dev.to/ngrx/ngrx-action-group-creator-1deh
Hello, friends!
As you can see, I'm a Ukrainian software engineer who tries to do volunteer fundraisers to support the Armed Forces of Ukraine. Sometimes it takes a lot of time and I am not able to maintain this channel for you. Please help me close these fundraisers because without the Ukrainian army there will be nothing Ukrainian. Thank you very much!
Buy Mavic 3 for aerial reconnaissance of an assault brigade!
💵 FOR Ukraine:
https://send.monobank.ua/jar/7Wh12WsfQt
5375 4114 1222 8582
🌎 FOR ALL DONATS:
💵 SWIFT code: UNJSUAUKXXX
💵 PayPal: luckystudydanit@gmail.com
My profile with reports after closing fundraiser :
https://www.facebook.com/volunt2erua/
also all reports in our 🚀 channel:
https://t.me/toxicc_squad
🤓 Router Guards In Angular
#angular #guard
✅ Article link: https://bittukumar-web.medium.com/router-guards-in-angular-canactivate-canactivatechild-candeactivate-canload-resolve-8cc2519e70c
🎁 Code Link: https://github.com/bittu1040/angular-router-guard-demo
📄 How to Rewrite a Interceptor into a Functional Interceptor in Angular
#angular #interceptor
✅ Article link: https://medium.com/@seanhaddock_60973/how-to-create-a-functional-interceptor-in-angular-c2302cc67a90
🧪 Enhanced Control Flow in Angular
#angular #html
🚩 > Angular 17
✅ Article link: https://codewithmrnerd.medium.com/angular-17-enhanced-control-flow-simplified-with-examples-5b6ff44f0635
📄 Array manipulation in modern programming
#js #arrays
✅ Article link: https://rahuulmiishra.medium.com/unlocking-the-power-of-arrays-exploring-array-with-997b0a0d3796
