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 Π΄Π½Π΅ΠΉ
ΠΠ°Π³ΡΡΠΆΠ°Π΅ΠΌ Π΄Π°Π½Π½ΡΠ΅
ΠΠΎΡ
ΠΎΠΆΠΈΠ΅ ΠΊΠ°Π½Π°Π»Ρ
ΠΠ±Π»Π°ΠΊΠΎ ΡΠ΅Π³ΠΎΠ²
ΠΡ
ΠΎΠ΄ΡΡΠΈΠ΅ ΠΈ ΠΈΡΡ
ΠΎΠ΄ΡΡΠΈΠ΅ ΡΠΏΠΎΠΌΠΈΠ½Π°Π½ΠΈΡ
---
---
---
---
---
---
ΠΡΠΈΠ²Π»Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎΠ΄ΠΏΠΈΡΡΠΈΠΊΠΎΠ²
Π½ΠΎΡΠ±ΡΡ '26Π½ΠΎΡΠ±. '26
Π½ΠΎΡΠ±ΡΡ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
ΠΎΠΊΡΡΠ±ΡΡ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ΅Π½ΡΡΠ±ΡΡ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π°Π²Π³ΡΡΡ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΈΡΠ»Ρ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΈΡΠ½Ρ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΌΠ°ΠΉ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π°ΠΏΡΠ΅Π»Ρ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΌΠ°ΡΡ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ΅Π²ΡΠ°Π»Ρ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ½Π²Π°ΡΡ '260
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π΄Π΅ΠΊΠ°Π±ΡΡ '250
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π½ΠΎΡΠ±ΡΡ '250
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΎΠΊΡΡΠ±ΡΡ '250
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ΅Π½ΡΡΠ±ΡΡ '25
+3
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π°Π²Π³ΡΡΡ '25
+21
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΈΡΠ»Ρ '25
+29
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΈΡΠ½Ρ '25
+15
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΌΠ°ΠΉ '25
+35
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π°ΠΏΡΠ΅Π»Ρ '25
+28
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΌΠ°ΡΡ '25
+44
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ΅Π²ΡΠ°Π»Ρ '25
+42
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ½Π²Π°ΡΡ '25
+63
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π΄Π΅ΠΊΠ°Π±ΡΡ '24
+68
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π½ΠΎΡΠ±ΡΡ '24
+80
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΎΠΊΡΡΠ±ΡΡ '24
+48
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ΅Π½ΡΡΠ±ΡΡ '24
+32
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π°Π²Π³ΡΡΡ '24
+50
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΈΡΠ»Ρ '24
+110
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΈΡΠ½Ρ '24
+123
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΌΠ°ΠΉ '24
+141
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π°ΠΏΡΠ΅Π»Ρ '24
+135
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΠΌΠ°ΡΡ '24
+136
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ΅Π²ΡΠ°Π»Ρ '24
+206
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
ΡΠ½Π²Π°ΡΡ '24
+302
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π΄Π΅ΠΊΠ°Π±ΡΡ '23
+127
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
Get PRO
Π½ΠΎΡΠ±ΡΡ '23
+246
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ
ΠΠΎΡΡΡ ΠΊΠ°Π½Π°Π»Π°
π Now our channel can officially accept messages for 1 Star from each of you!
In fact, now every subscriber can become our editor and part of the project!
π Angular Legion
| 2 | ΠΠ΅Ρ ΡΠ΅ΠΊΡΡΠ°... | 0 |
| 3 | π Tab Form Component | Angular
#angular #dynamic #dynamicComponents
β οΈ The example is for presentation purposes only and can be refactored.
β
Article Link | π Code Link | 0 |
| 4 | π§‘ Micro-Frontends with Angular 19
#angular #nginx #moduleFederation #microfrontends
β
Article Link | 0 |
| 5 | π€π Screen size change handler in Angular
#angular #BreakpointObserver
β
Article Link | 0 |
| 6 | β Let's start ... with React β
https://t.me/react_practical_notes | 0 |
| 7 | Guys, let's boost my tg channel to make popular Angular content.
https://t.me/boost/angular_practical_notes | 0 |
| 8 | How do you feel about react.js articles ? | 0 |
| 9 | π€ π β€οΈ How to write scss in Angular , using mixins, variables and nesting.
#angular #scss #guide
β
Article Link | 0 |
| 10 | β€οΈ Stop Using setTimeout in Angular
#angular #setTimeout
What setTimeout Really Does in Angular
In JavaScript, setTimeout queues a task on the macrotask queue to be run after the current call stack clears. In a normal JS app, this is predictable.
But Angular isnβt just JavaScript β it uses Zone.js under the hood.
Zone.js monkey-patches setTimeout so Angular can trigger change detection after async operations.
Every time setTimeout fires, Angular knows something changed. So it runs its entire component tree check cycle.
β
Article Link | 0 |
| 11 | π€π΅ JS Patterns
#js #patterns
β
Article Link | 0 |
| 12 | π€π΅ JS Shortcuts
#js
β
Article Link | 0 |
| 13 | β€οΈ Signals + HTTP = httpResource
#angular #httpResource
π§ͺ Angular 19.2
The httpResource API is still experimental, but it will most likely replace all our usages of HttpClient in the near future, which is why Iβm excited to share this now!
β
Article Link π Code Link | 0 |
| 14 | π©· Stop Using BehaviorSubject in Every Angular Service
#angular #signals
BehaviorSubject Is a Loaded Gun
It holds state, pushes values, and is hot by default. That means:
β Every new subscriber instantly gets the last value
β You must manually manage .next() calls
β It often leads to imperative logic (e.g. if (...) this._value$.next(...))
β And worst of all?
It gives you a stream, but not semantics.
You canβt know if the value is:
β Cached
β Live from server
β Derived from another value
β Meant to be read-only
β
Article Link | 0 |
| 15 | π€π©Ά Implementing Dependency Inversion in Angular Using Injection Tokens
#angular #services #InjectionToken
β
Article Link | 0 |
| 16 | π Strategies to Reduce Memory Usage
#angular #cdr #workers
Common Causes of High Memory Usage in Angular
1. Memory Leaks: Components and services not properly cleaned up can cause memory leaks.
2. Excessive DOM Manipulation: Too many DOM elements or frequent updates can increase memory consumption.
3. Large Data Objects in Memory: Keeping large objects or arrays in memory unnecessarily bloats memory usage.
4. Unoptimized Change Detection: Running change detection frequently for all components degrades performance.
5. Improper Use of Observables: Subscriptions that are not unsubscribed can lead to memory leaks.
6. Large Bundle Size: Loading too much JavaScript can impact memory consumption.
β
Article Link | 0 |
| 17 | π΅ Mastering Touch Interactions with Hammer.js: A Complete Guide
#js #hammerjs
What is Hammer.js? π€
Hammer.js is a lightweight JavaScript library (only 4KB) that brings multi-touch gesture support to web applications. Itβs designed to work seamlessly across both mobile and desktop platforms, with excellent browser compatibility.
β
Article Link | 0 |
| 18 | π΅ Promise.try()
#js #promises
What is Promise.try()?
In essence, Promise.try() is a static method that wraps any function β be it synchronous, asynchronous, value-returning, or exception-throwing β into a Promise. It effortlessly handles both sync and async functions while automatically catching synchronous exceptions, preventing error leaks. π
Advantages of Promise.try()
1 β Unified Handling: Seamlessly manages both synchronous and asynchronous functions, resulting in cleaner code. π§Ό
2 β Exception Handling: Automatically captures synchronous exceptions, making error handling more intuitive and preventing oversights. π΅οΈββοΈ
3 β Code Simplicity: Compared to traditional methods, Promise.try() enhances code readability and maintainability. π
β
Article Link | 0 |
| 19 | π©Ά Configure Angularβs Advanced proxyConfig
#angular #proxy
Angularβs proxyConfig provides a convenient and efficient workaround for the CORS issue during development. It essentially acts as a reverse proxy, intercepting requests from your Angular application and forwarding them to the backend server.
The key benefit is that the browser sees all requests originating from the same origin (your Angular applicationβs development server), thus bypassing the CORS restrictions.
In essence, the workflow is as follows:
Your Angular application running on localhost:4200 makes a request to /api/data.
β The proxyConfig intercepts the request.
β The proxyConfig forwards the request to http://localhost:8080/api/data.
β The backend server processes the request and sends a response back to the proxyConfig.
β The proxyConfig relays the response back to your Angular application.
Since the request appears to originate from the same origin, the browser happily allows the communication, and you can seamlessly develop your Angular application without the CORS headache.
β
Article Link | 0 |
| 20 | π©Ά Configure a Proxy in Angular for API Calls
#angular #proxy
β
Article Link | 0 |
