ru
Feedback

НС ΠΏΠΎΠΏΠ°Π΄ΠΈΡ‚Π΅ΡΡŒ Π½Π° ΠΊΠ°Π½Π°Π» Π±ΠΎΡ‚Π°Π²ΠΎΠ΄Π°! Telemetrio Π½Π°Ρ…ΠΎΠ΄ΠΈΡ‚ ΠΈ ΠΏΠΎΠΌΠ΅Ρ‡Π°Π΅Ρ‚ Ρ‚Π°ΠΊΠΈΠ΅ ΠΊΠ°Π½Π°Π»Ρ‹ πŸ‘‰ Π₯ΠΎΡ‚ΠΈΡ‚Π΅ Π²ΠΈΠ΄Π΅Ρ‚ΡŒ ΠΌΠ΅Ρ‚ΠΊΡƒ β€” ΠΎΡ„ΠΎΡ€ΠΌΠΈΡ‚Π΅ подписку

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 Π΄Π½Π΅ΠΉ
Архив постов
🌐 Angular : Best practices after the renaissance #1 #angular #controlFlow Control flow (from version β‰₯ 17) One of the bigges
+1
🌐 Angular : Best practices after the renaissance #1 #angular #controlFlow
Control flow (from version β‰₯ 17) One of the biggest improvements in Angular is the introduction of new syntax for handling HTML. The updated syntax for managing conditions and iterations significantly enhances code clarity and maintainability. Previously, directives like *ngIf and *ngFor were used, but the new syntax offers more streamlined and cleaner ways to handle such scenarios.

🚯 Magic of Generators #js #generators Generators: Advantages β€” Fine-Grained Control: Generators give you the ability to paus
+1
🚯 Magic of Generators #js #generators
Generators: Advantages β€” Fine-Grained Control: Generators give you the ability to pause and resume function execution at will. This can be a game-changer in scenarios like lazy evaluation, custom iteration logic, or complex control flows. β€” Memory Efficiency: Since generators produce values on demand, they are highly memory-efficient, making them perfect for handling large datasets or streams. β€” Readable Asynchronous Code: While async/await has largely supplanted many asynchronous handling methods, generators still offer a unique combination of readability and control, making complex asynchronous flows easier to manage.
βœ… Article link

❀️ OAuth2 Integration with Angular 18 #angular #OAuth2 #guide OAuth2 is a popular authorization framework that allows third-p
+4
❀️ OAuth2 Integration with Angular 18 #angular #OAuth2 #guide
OAuth2 is a popular authorization framework that allows third-party services to authenticate users without sharing credentials. It’s a powerful protocol for securing Angular applications by delegating authentication and authorization to a trusted identity provider like Google, Facebook, or your own backend server.
βœ… Article link

🌐 Angular: Go Zoneless #angular #ngZone #zoneless Why Zoneless? Well, isn't it clear after those pictures? …In my opinion it
+1
🌐 Angular: Go Zoneless #angular #ngZone #zoneless
Why Zoneless? Well, isn't it clear after those pictures? …In my opinion it might look clear, but this isn't the only advantage, there are others: β€” Better performance: ZoneJS uses async task as indicators for change. It doesn't directly know when and where exactly the change has happened. You can imagine that it is a system that always runs and is checking everything, everywhere with some exceptions such as OnPush strategy etc. β€” Debugging: We all know the Expression Changed After Checked we've all been there. Now the stack trace and errors will be more straight forward. β€” Better feeling from the app: I haven't found the right words, but it just feel better. It feel better that when you change a property with async/await or using .signal(). Then the change appears immediately in the correct spot. β€” Zone.js was the reason not to develop an App in Angular: Imagine you were building a snippet that was checking user interaction. For example you wanted to calculate how many times is user performing some event such as clicking, touching or interacting with keyboard -> in such scenario your app would go crazy with Angular and you would have to have a lot of components running out of Zone and manually trigger change detection. Otherwise your app even with OnPush strategy could freeze.
βœ… Article link

🩡 Preloading Strategies in Angular #angular #preload #preloading #PreloadingStrategy Angular comes with two built-in preload
+3
🩡 Preloading Strategies in Angular #angular #preload #preloading #PreloadingStrategy
Angular comes with two built-in preloading strategies: β€” NoPreloading (default): Disables preloading entirely. Lazy-loaded modules are only fetched when the user navigates to them. β€” PreloadAllModules: Preloads all lazy-loaded modules in the background after the initial app load. This is ideal for smaller applications with limited routes, where preloading everything won’t overwhelm the network. β€” Custom Preloading Strategies: Taking Control of Performance Angular allows you to define custom preloading strategies to preload specific routes based on your app’s requirements. This gives you fine-grained control over which modules should be loaded in the background and under what conditions.
βœ… Article link

🚳 JavaScript Design Pattern: Builder #js #patterns #ui_element βœ… Article link
+2
🚳 JavaScript Design Pattern: Builder #js #patterns #ui_element βœ… Article link

πŸ“΅ JavaScript Promises: 8 Practical Use Cases #js #promise βœ… Article link
+5
πŸ“΅ JavaScript Promises: 8 Practical Use Cases #js #promise βœ… Article link

πŸ†š CSS New Features #css #guide #info This is a list of the new changes (more details below): β€” Changes to attr() function: s
+9
πŸ†š CSS New Features #css #guide #info
This is a list of the new changes (more details below): β€” Changes to attr() function: so it can be used with any attribute and in any CSS property (not only on content). β€” calc-size() function: use intrinsic values such as auto or min-content in calculations. β€” New first-valid() function to avoid issues with custom properties with invalid values. β€” New *-mix() family of functions with a new notation for ratios. β€” New *-progress() family of functions to calculate the progress ratio between a range or within a media or container. β€” Randomization with new random() and random-item() functions, to return random values from a range or list (finally!) β€” New sibling-count() and sibling-index() functions that provide integer values to operate depending on the order and size. β€” New toggle() function for styling nested elements easily cycling over a list of values. β€” New functional notation for arguments with comma-separated lists of values, to avoid ambiguity with the comma separating the arguments. β€” New URL modifiers to provide more control over url() requests. β€” Extension of the position type to allow flow-relative values.
βœ… Article link

❕ React 19 features #react βœ… Article link
+3
❕ React 19 features #react βœ… Article link

Hello, friends! As you can see, I'm a Ukrainian software engineer who tries to do volunteer fundraisers to support the Armed
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! πŸ’΅ FOR Ukraine: https://send.monobank.ua/jar/3Xo6msrUCg 5375 4112 2361 3253 🌎 FOR ALL DONATS: πŸ’² PayPal: timohin@ua.fm πŸ’΅ SWIFT code: UNJSUAUKXXX also all reports in my channels: πŸš€ Π’Π“ Π·Π²Ρ–Ρ‚ΠΈ | 🌐 Facebook |πŸ“Ή YouTube

❀️ Custom Dynamic Module Loader #angular #dynamic Places Where We Can Use Dynamic Module Loading β€” Micro-Frontends: When inte
❀️ Custom Dynamic Module Loader #angular #dynamic
Places Where We Can Use Dynamic Module Loading β€” Micro-Frontends: When integrating multiple micro-frontends, each built with different versions of Angular or other frameworks, dynamic module loading can help load and compile modules based on the frontend in use. β€” Third-Party Integrations: If your application needs to integrate third-party Angular libraries or components dynamically at runtime, dynamic loading can optimize their performance and only include the necessary code. β€” Role-Based Access Control (RBAC): Dynamic module loading is excellent for conditionally loading parts of the application based on the user’s role or permissions. You can securely avoid loading unnecessary modules for users with restricted access.
βœ… Article link

β™ŒοΈ Multicasting in Angular #angular #rxjs #share #publish #shareReplay What is Multicasting? Multicasting allows an observabl
+3
β™ŒοΈ Multicasting in Angular #angular #rxjs #share #publish #shareReplay
What is Multicasting? Multicasting allows an observable to share its execution across multiple subscribers, so that all subscribers receive the same emitted data at the same time. By default, observables in RxJS are β€œunicast,” meaning each subscription creates a separate execution of the observable. This can lead to multiple API calls or side effects if several components subscribe to the same observable. Multicasting ensures that only one execution occurs, regardless of how many subscribers are attached to the observable. This is particularly useful in scenarios where expensive operations (such as HTTP requests) should be shared across multiple components without being re-executed multiple times.
βœ… Article link

πŸ€“β€οΈ 10 Commonly Made Coding Mistakes in Angular #angular #guide #info βœ… Article link
+9
πŸ€“β€οΈ 10 Commonly Made Coding Mistakes in Angular #angular #guide #info βœ… Article link

πŸ“΅ Most desired JS features in the following ES XX specifications #js #esnext βœ… Article link
+7
πŸ“΅ Most desired JS features in the following ES XX specifications #js #esnext βœ… Article link

πŸ“΅ How To Cancel A Promise In Vanilla JavaScript?πŸ€” #js #promise βœ… Article link
+1
πŸ“΅ How To Cancel A Promise In Vanilla JavaScript?πŸ€” #js #promise βœ… Article link

πŸ“΅ JavaScript Design Pattern β€” Facade #js #patterns βœ… Article link
+6
πŸ“΅ JavaScript Design Pattern β€” Facade #js #patterns βœ… Article link

🌐 ❕ Angular vs. React: Comparison for Front-End Developers #angular #react #info Before we start the comparison, let’s brief
+9
🌐 ❕ Angular vs. React: Comparison for Front-End Developers #angular #react #info
Before we start the comparison, let’s briefly define Angular and React: - Angular: A full-fledged front-end framework developed and maintained by Google. It is a complete solution for building large-scale applications, offering built-in tools for everything from routing to state management. - React: A JavaScript library created by Facebook for building UI components. Unlike Angular, React focuses on the view layer only, offering flexibility to developers by allowing them to choose other libraries and tools for state management, routing, and more.
βœ… Article link

πŸ†š A Scalable CSS Architecture for Modern Web Applications #css #info #guide The Core Challenge of Scaling CSS As application
+7
πŸ†š A Scalable CSS Architecture for Modern Web Applications #css #info #guide
The Core Challenge of Scaling CSS As applications evolve, managing styling consistently becomes even harder. Web projects often face issues like: β€” Inconsistent UI elements: Without a unified system, different pages or features can drift apart visually. β€” Hard-to-maintain styles: Styling becomes scattered and unorganized, making future changes tedious and error-prone. β€” Difficulty in updating themes or branding: Modifying a color or spacing may involve updating hundreds of individual styles.
βœ… Article link

🌐 πŸ–€ `CanMatch` Interface in Angular Router (2024) #angular #guard #router #routing The CanMatch interface is a part of Angu
+5
🌐 πŸ–€ `CanMatch` Interface in Angular Router (2024) #angular #guard #router #routing
The CanMatch interface is a part of Angular’s routing mechanism that enables conditional route matching. It provides a way to define guard logic that runs before the router tries to activate a route. If all CanMatch guards return true, the router proceeds with navigation to the route. If any guard returns false, the route is skipped for matching, and the router evaluates other route configurations.
βœ… Article link

🌐 πŸ–€ `CanMatch` Interface in Angular Router (2024) #angular #router