ar
Feedback

لا تقع ضحية للمخادعين! تيليمتريو يكتشف ويُميّز هذه القنوات 👉 إذا كنت تريد رؤية العلامة، اشترك

Angular 🇺🇦 - practical notes

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 أيام
أرشيف المشاركات
🆕 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

💙 Tab Form Component | Angular #angular #dynamic #dynamicComponents ⚠️ The example is for presentation purposes only and can
+4
💙 Tab Form Component | Angular #angular #dynamic #dynamicComponents ⚠️ The example is for presentation purposes only and can be refactored. ✅ Article Link | 🎁 Code Link

🧡 Micro-Frontends with Angular 19 #angular #nginx #moduleFederation #microfrontends ✅ Article Link
+4
🧡 Micro-Frontends with Angular 19 #angular #nginx #moduleFederation #microfrontends ✅ Article Link

🤓💙 Screen size change handler in Angular #angular #BreakpointObserver ✅ Article Link
+1
🤓💙 Screen size change handler in Angular #angular #BreakpointObserver ✅ Article Link

❕ Let's start ... with React ❕ https://t.me/react_practical_notes

Guys, let's boost my tg channel to make popular Angular content. https://t.me/boost/angular_practical_notes

How do you feel about react.js articles ?
Anonymous voting

🤓 🚭 ❤️ How to write scss in Angular , using mixins, variables and nesting. #angular #scss #guide ✅ Article Link
+3
🤓 🚭 ❤️ How to write scss in Angular , using mixins, variables and nesting. #angular #scss #guide ✅ Article Link

❤️ Stop Using setTimeout in Angular #angular #setTimeout What setTimeout Really Does in Angular In JavaScript, setTimeout que
+1
❤️ 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

🤓📵 JS Patterns #js #patterns ✅ Article Link
+8
🤓📵 JS Patterns #js #patterns ✅ Article Link

🤓📵 JS Shortcuts #js ✅ Article Link
+4
🤓📵 JS Shortcuts #js ✅ Article Link

❤️ Signals + HTTP = httpResource #angular #httpResource 🧪 Angular 19.2 The httpResource API is still experimental, but it wi
+3
❤️ 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

🩷 Stop Using BehaviorSubject in Every Angular Service #angular #signals BehaviorSubject Is a Loaded Gun It holds state, push
🩷 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

🤓🩶 Implementing Dependency Inversion in Angular Using Injection Tokens #angular #services #InjectionToken ✅ Article Link
+1
🤓🩶 Implementing Dependency Inversion in Angular Using Injection Tokens #angular #services #InjectionToken ✅ Article Link

💙 Strategies to Reduce Memory Usage #angular #cdr #workers Common Causes of High Memory Usage in Angular 1. Memory Leaks: Co
+3
💙 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

📵 Mastering Touch Interactions with Hammer.js: A Complete Guide #js #hammerjs What is Hammer.js? 🤔 Hammer.js is a lightweig
+3
📵 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

📵 Promise.try() #js #promises What is Promise.try()? In essence, Promise.try() is a static method that wraps any function —
+1
📵 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

🩶 Configure Angular’s Advanced proxyConfig #angular #proxy Angular’s proxyConfig provides a convenient and efficient workaro
+3
🩶 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

🩶 Configure a Proxy in Angular for API Calls #angular #proxy ✅ Article Link
🩶 Configure a Proxy in Angular for API Calls #angular #proxy ✅ Article Link