RxJS Power: Custom handleHttpError() Operator
A poll showed that 64% of you are interested in "Signal's Mastery & RxJS Power." I heard you and decided to share one of my favorite custom operators that I use: handleHttpError!
When working with HTTP requests in Angular, we often need to handle errors and redirect users to appropriate pages (404, 500, etc.).
🔧 What does this operator do?
- catches HTTP errors
- redirects users based on error status
- supports both a single fallback route and custom routes per status
- preserves the original URL (SEO-friendly)
- allows error logging
🎯 Key Benefits
- reduces code duplication
- makes error handling more declarative
- easily extendable (can add retry logic, additional checks, etc.)
The operator’s code and usage examples are attached to the post.
The code in the comments!👇
#Angular #RxJS #TypeScript #WebDevelopment
A poll showed that 64% of you are interested in "Signal's Mastery & RxJS Power." I heard you and decided to share one of my favorite custom operators that I use: handleHttpError!
When working with HTTP requests in Angular, we often need to handle errors and redirect users to appropriate pages (404, 500, etc.).
- catches HTTP errors
- redirects users based on error status
- supports both a single fallback route and custom routes per status
- preserves the original URL (SEO-friendly)
- allows error logging
- reduces code duplication
- makes error handling more declarative
- easily extendable (can add retry logic, additional checks, etc.)
The operator’s code and usage examples are attached to the post.
The code in the comments!
#Angular #RxJS #TypeScript #WebDevelopment
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
14🔥6👏1
A few days ago, I shared a custom RxJS operator
His new
📌 Check out Roberto’s post: LinkedIn
🔧 Play with the code: StackBlitz
💡 P.S. I’ve added the original RxJS operator’s code file in the comments of my post
distinctUntilChangedWithHistory(see my post) - a way to track and compare historical values in streams. Now, Roberto Heckers took that idea and adapted it for Angular Signals! 🔥
His new
effectWithHistoryabstraction ensures effects only trigger when a Signal receives a never-before-seen value. You can even customize comparison logic or limit the history depth! �✨
📌 Check out Roberto’s post: LinkedIn
🔧 Play with the code: StackBlitz
💡 P.S. I’ve added the original RxJS operator’s code file in the comments of my post
Telegram
Grandgular [Angular]
Custom RxJS Operator: `distinctUntilChangedWithHistory()`
I love building custom Angular tools - whether it's signals, RxJS operators, or decorators. Today, I’ll show how I upgraded the standard distinctUntilChanged to compare against not just the last value…
I love building custom Angular tools - whether it's signals, RxJS operators, or decorators. Today, I’ll show how I upgraded the standard distinctUntilChanged to compare against not just the last value…
5👌4🔥1
Pipe capitalize Capitalize
Probably every project has code lines like this:
And this is not surprising, since capitalizing the first letter in names, surnames, cities, etc. is quite common. However, there are also more complex cases where you need to capitalize each word, and not always separated by spaces. The wisest solution would be to extract this logic separately to avoid potential code duplication and have a single source of truth with tests written for it.
🚀 Common use cases:
- User names:
- Company names:
- Complex identifiers:
- and much more
📌 CapitalizePipe. How does it work?
Two modes to choose from:
1. 'first' (default) - capitalizes only the first letter
2. 'all' - Formats each word (with a custom separator)
🎯 Advantages
- Flexibility: works with any separators (-, _, space)
- Protection against empty strings
- Easy to use - minimal code in templates
Code in the comments!👇
#Angular #Pipes #Frontend #TypeScript
Probably every project has code lines like this:
value = value.charAt(0).toUpperCase() + value.slice(1)
And this is not surprising, since capitalizing the first letter in names, surnames, cities, etc. is quite common. However, there are also more complex cases where you need to capitalize each word, and not always separated by spaces. The wisest solution would be to extract this logic separately to avoid potential code duplication and have a single source of truth with tests written for it.
- User names:
andrei shpileuski → Andrei Shpileuski
- Company names:
grandgular → Grandgular
- Complex identifiers:
user-id → User-Id
- and much more
Two modes to choose from:
1. 'first' (default) - capitalizes only the first letter
2. 'all' - Formats each word (with a custom separator)
- Flexibility: works with any separators (-, _, space)
- Protection against empty strings
- Easy to use - minimal code in templates
Code in the comments!
#Angular #Pipes #Frontend #TypeScript
Please open Telegram to view this post
VIEW IN TELEGRAM
5👍4🤝2
🚀 Introducing @grandgular/link - The Missing Piece for Angular SEO!
The Problem:
Angular provides built-in Title and Meta services, but mysteriously lacks a solution for managing html <link> tags. Until now, developers had to manipulate the DOM manually 😕
The Solution:
Meet the Link service - a perfect counterpart to Angular's Meta, but for `html
<link>` elements:
🔥 Key Benefits:
- Full TypeScript support
- Familiar Angular-style API (just like Meta)
- Supports all standard <link> attributes
- SSR-ready out of the box
- Tiny footprint (~2KB)
Works perfectly as a standalone solution - no dependency on our upcoming SEO suite.
📦 NPM: https://www.npmjs.com/package/@grandgular/link
💻 GitHub: https://github.com/Grandgular/link
P.S. This is the first building block in our comprehensive Angular SEO toolkit. What features would you like to see in the full solution?
Let us know in the comments! 👇
#Angular #SEO #WebDev #Frontend #JavaScript
The Problem:
Angular provides built-in Title and Meta services, but mysteriously lacks a solution for managing html <link> tags. Until now, developers had to manipulate the DOM manually 😕
The Solution:
Meet the Link service - a perfect counterpart to Angular's Meta, but for `html
<link>` elements:
constructor(private link: Link) {}
ngOnInit() {
// Add canonical link
this.link.addTag({
rel: 'canonical',
href: 'https://your-site.com/page'
});
// Update on route changes
this.link.updateTag({
rel: 'canonical',
href: 'https://your-site.com/new-url'
});
// etc.
}
🔥 Key Benefits:
- Full TypeScript support
- Familiar Angular-style API (just like Meta)
- Supports all standard <link> attributes
- SSR-ready out of the box
- Tiny footprint (~2KB)
Works perfectly as a standalone solution - no dependency on our upcoming SEO suite.
📦 NPM: https://www.npmjs.com/package/@grandgular/link
💻 GitHub: https://github.com/Grandgular/link
P.S. This is the first building block in our comprehensive Angular SEO toolkit. What features would you like to see in the full solution?
Let us know in the comments! 👇
#Angular #SEO #WebDev #Frontend #JavaScript
7👍6🔥3😱2👏1
Sometimes adding a simple <script> tag to index.html isn’t enough. What if:
- Stripe isn’t needed until the user logs in?
- JivoChat should only load when clicking "Support"?
- Kinescope is required only when watching a video?
- .RU-only scripts shouldn’t load on .COM domains?
- Caching – avoids loading the same script twice (Map + shareReplay).
- Duplicate Check – if the script is already in the DOM, returns true.
- SSR-Friendly – won’t break server-side rendering (isPlatformBrowser).
- Logging – clear error messages in the console.
// A component that loads Kinescope player only when created
@Component({...})
export class VideoPlayer {
constructor() {
inject(ScriptLoaderService)
.loadScript('https://player.kinescope.io/latest.js', 'head', 'Kinescope')
.subscribe(loaded => loaded ? this.autoPlay() : this.showError());
}
}
Why Is This Better Than a Plain <script> Tag?
🔗 Code attached to the post - save it for later!
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
7👍8🔥4✍1
♥️ Still Loving `withComponentInputBinding()`
In one of my previous posts, I already talked about
Today, for the first time, I implemented pagination not using RxJS, but with this feature and signals. And I just had to share the excitement.
Why am I so happy about it?
- No need to inject anything (like ActivatedRoute or Router)
- No subscriptions/unsubscriptions to manage
- Less code, simpler logic, cleaner project
P.S. The example is heavily simplified, but the page signal will work exactly as intended.
In one of my previous posts, I already talked about
withComponentInputBinding() (you can read it here). In short - it’s a feature that lets you directly get values from URL query params and route params.Today, for the first time, I implemented pagination not using RxJS, but with this feature and signals. And I just had to share the excitement.
Why am I so happy about it?
- No need to inject anything (like ActivatedRoute or Router)
- No subscriptions/unsubscriptions to manage
- Less code, simpler logic, cleaner project
P.S. The example is heavily simplified, but the page signal will work exactly as intended.
7❤8🔥3
🆕 job aggregator for Angular developers has appeared: angular-jobs.com
An initiative by the team behind NG-BE. The service aggregates job postings that specifically require Angular.
Current stats:
~120 companies
~160 open positions
~300 visitors per month
Note: applying for positions is done via LinkedIn or the employer's website directly.
The creators state that a portion of the listing revenue will be directed toward free training for the community and environmental projects.
What's your take on such a highly specialized platform? Could it be useful, or is it too niche? 🤔
#angular #angularjobs #jobs #webdev
An initiative by the team behind NG-BE. The service aggregates job postings that specifically require Angular.
Current stats:
~120 companies
~160 open positions
~300 visitors per month
Note: applying for positions is done via LinkedIn or the employer's website directly.
The creators state that a portion of the listing revenue will be directed toward free training for the community and environmental projects.
What's your take on such a highly specialized platform? Could it be useful, or is it too niche? 🤔
#angular #angularjobs #jobs #webdev
7🔥6👌1
🚀 Introducing @grandgular/yandex-metrika library for Yandex Metrika integration in Angular applications.
🔍 Shortly about:
• SSR compatibility — scripts load only in the browser, no events sent from the server
• Easy setup — familiar Angular approach with provideYandexMetrika()
• Flexible loading — async (default), defer, or sync strategies
• ProdOnly mode — initialization only in production environment
• NoScript fallback — support for users with JavaScript disabled
🔧 Installation:
💻 Usage:
Links:
📦 NPM: https://www.npmjs.com/package/@grandgular/yandex-metrika
📚 GitHub: https://github.com/grandgular/yandex-metrika
I welcome feedback, Issues, and PRs! Help make the library better for the entire Angular community! 🙌
🔍 Shortly about:
• SSR compatibility — scripts load only in the browser, no events sent from the server
• Easy setup — familiar Angular approach with provideYandexMetrika()
• Flexible loading — async (default), defer, or sync strategies
• ProdOnly mode — initialization only in production environment
• NoScript fallback — support for users with JavaScript disabled
🔧 Installation:
npm install @grandgular/yandex-metrika
💻 Usage:
provideYandexMetrika({
id: YOUR_COUNTER_ID,
prodOnly: true,
loading: 'async',
options: {
webvisor: true,
clickmap: true
// etc
}
})
Links:
📦 NPM: https://www.npmjs.com/package/@grandgular/yandex-metrika
📚 GitHub: https://github.com/grandgular/yandex-metrika
I welcome feedback, Issues, and PRs! Help make the library better for the entire Angular community! 🙌
7👍9👏2
⏰ Timeouts for HTTP in Angular.
A common practice is to create a wrapper around the HttpClient that is used throughout the project. It often handles tasks like timeouts and retry logic using operators like .pipe(timeout(8000)).
But this solution isn't the most elegant - it adds an extra layer and boilerplate.
What if such a wrapper service doesn't exist in the project, but you need to solve the timeout issue right now?
I believe the most graceful option is to add custom functionality directly to provideHttpClient(). For example, something like withTimeout (look at the picture + code in the comments)
🎯 What does it offer?
- A global timeout default for all requests
- Flexible rules for specific endpoints
- Clean and readable code without repetitive boilerplate and extra layers.
- All timed-out requests fail with a 408 TimeoutError.
💡 Using the same principle, you can do the following: withRetry(), withRateLimiting(), withErrorHandler(), etc.
#angular #frontend #javascript #typescript #webdev
A common practice is to create a wrapper around the HttpClient that is used throughout the project. It often handles tasks like timeouts and retry logic using operators like .pipe(timeout(8000)).
But this solution isn't the most elegant - it adds an extra layer and boilerplate.
What if such a wrapper service doesn't exist in the project, but you need to solve the timeout issue right now?
I believe the most graceful option is to add custom functionality directly to provideHttpClient(). For example, something like withTimeout (look at the picture + code in the comments)
🎯 What does it offer?
- A global timeout default for all requests
- Flexible rules for specific endpoints
- Clean and readable code without repetitive boilerplate and extra layers.
- All timed-out requests fail with a 408 TimeoutError.
💡 Using the same principle, you can do the following: withRetry(), withRateLimiting(), withErrorHandler(), etc.
#angular #frontend #javascript #typescript #webdev
7🔥6👌1
🎯 withInMemoryScrolling - Navigation Superpower in Angular
✨ What you get:
1. scrollPositionRestoration: 'enabled'
- Scroll through a feed → open a post → go back = you stay in the same place!
- Works with the browser's Back/Forward buttons.
2. anchorScrolling: 'enabled'
- Links like / page#section' automatically scroll to the target block.
- Perfect for anchor menus, FAQ pages, and documentation.
⚠️⚠️⚠️ But there's a nuance with async data:
The user might navigate to a section of the page before the data is loaded and the content occupies its space. This can break the scroll restoration.
To solve this problem, check out this great article:
https://angular.love/angular-scroll-position-restoration
#angular #withInMemoryScrolling #frontend
provideRouter(
routes,
withInMemoryScrolling({
scrollPositionRestoration: 'enabled', // ← Remembers scroll position
anchorScrolling: 'enabled', // ← Anchor links support
})
)
✨ What you get:
1. scrollPositionRestoration: 'enabled'
- Scroll through a feed → open a post → go back = you stay in the same place!
- Works with the browser's Back/Forward buttons.
2. anchorScrolling: 'enabled'
- Links like / page#section' automatically scroll to the target block.
- Perfect for anchor menus, FAQ pages, and documentation.
⚠️⚠️⚠️ But there's a nuance with async data:
The user might navigate to a section of the page before the data is loaded and the content occupies its space. This can break the scroll restoration.
To solve this problem, check out this great article:
https://angular.love/angular-scroll-position-restoration
#angular #withInMemoryScrolling #frontend
7🔥6
⚠️ APP_INITIALIZER has been deprecated
Instead of the cumbersome useFactory construct, they now recommend using the clean provideAppInitializer function.
And the difference isn't just syntactic. 👀
🔑 Key improvements:
- Type Safety (strict typing instead of potential runtime errors)
- Automatic multi-processing (no more need to remember multi: true)
- Direct access to inject() (removes unnecessary wrappers)
- Modern ideology (a shift towards functional providers like provideHttpClient())
The old code will still work for now, but it's better to gradually transition to the new API. If your project has any service initialization logic (like my Yandex Metrika in the screenshot) — now is the perfect time to update it! 💪
📎Useful links:
APP_INITIALIZER - https://angular.dev/api/core/APP_INITIALIZER
provideAppInitializer - https://angular.dev/api/core/provideAppInitializer
#angular #migration #deprecation #angular19 #APP_INITIALIZER #provideAppInitializer
Instead of the cumbersome useFactory construct, they now recommend using the clean provideAppInitializer function.
And the difference isn't just syntactic. 👀
🔑 Key improvements:
- Type Safety (strict typing instead of potential runtime errors)
- Automatic multi-processing (no more need to remember multi: true)
- Direct access to inject() (removes unnecessary wrappers)
- Modern ideology (a shift towards functional providers like provideHttpClient())
The old code will still work for now, but it's better to gradually transition to the new API. If your project has any service initialization logic (like my Yandex Metrika in the screenshot) — now is the perfect time to update it! 💪
📎Useful links:
APP_INITIALIZER - https://angular.dev/api/core/APP_INITIALIZER
provideAppInitializer - https://angular.dev/api/core/provideAppInitializer
#angular #migration #deprecation #angular19 #APP_INITIALIZER #provideAppInitializer
9👍3🤝2👌1
Web Share API: Native Share Menu for Your Website 📱
Want the same "share" menu as in mobile apps? Web Share API makes it easy to implement! Here's how it works:
• Shows a system menu with available apps
• Supports text, links, and files
• Requires user action (click)
📊 Browser Support:
Works in Chrome, Edge, Safari on iOS. Details: https://caniuse.com/web-share
🎯 Important: Always need a fallback!
If the API is not supported, offer:
• Copy link functionality
• Custom menu with social networks
P.S. In the comments - ready-to-use Angular service with copy fallback.🔥
Want the same "share" menu as in mobile apps? Web Share API makes it easy to implement! Here's how it works:
• Shows a system menu with available apps
• Supports text, links, and files
• Requires user action (click)
📊 Browser Support:
Works in Chrome, Edge, Safari on iOS. Details: https://caniuse.com/web-share
🎯 Important: Always need a fallback!
If the API is not supported, offer:
• Copy link functionality
• Custom menu with social networks
P.S. In the comments - ready-to-use Angular service with copy fallback.🔥
31🔥7❤1❤🔥1👍1😇1
Media is too big
VIEW IN TELEGRAM
Angular Developers, attention! 🚀
This vacancy is for Russian-speaking candidates only.
Мне в команду нужен сильный Angular-специалист. Полная удаленка.
Для отклика - переходите на HH: https://spb.hh.ru/vacancy/127732708
Важно: там есть опросник, и в нем, где указываете имя и фамилию, добавьте в скобках grandgular. Эти отклики будут иметь приоритет.
P.S. Мне в личку пишите только, если я вас лично знаю)
P.P.S. Внизу короткое видео-презентация, над какими крутыми штуками мы работаем.
This vacancy is for Russian-speaking candidates only.
Мне в команду нужен сильный Angular-специалист. Полная удаленка.
Для отклика - переходите на HH: https://spb.hh.ru/vacancy/127732708
Важно: там есть опросник, и в нем, где указываете имя и фамилию, добавьте в скобках grandgular. Эти отклики будут иметь приоритет.
P.S. Мне в личку пишите только, если я вас лично знаю)
P.P.S. Внизу короткое видео-презентация, над какими крутыми штуками мы работаем.
19🔥3👍1
🔓 My first external PR - milestone unlocked!
The open-source loop is complete:
1. Review others' PRs ✅
2. Submit PRs to others ✅
3. Receive a PR to your own project ✅
grandgular/yandex-metrika just got its first community contribution! Fixed Angular 19 compatibility (DOCUMENT import issue), merged and released as v1.5.1.
When your project is useful enough for others to contribute back - that’s the real win.
→ @grandgular/yandex-metrika
#OSS #Angular #DevCommunity #FirstContribution
The open-source loop is complete:
1. Review others' PRs ✅
2. Submit PRs to others ✅
3. Receive a PR to your own project ✅
grandgular/yandex-metrika just got its first community contribution! Fixed Angular 19 compatibility (DOCUMENT import issue), merged and released as v1.5.1.
When your project is useful enough for others to contribute back - that’s the real win.
→ @grandgular/yandex-metrika
#OSS #Angular #DevCommunity #FirstContribution
7👌4🔥2❤1🤝1
🔥 How to Improve SEO in 5 Minutes (Especially for SSR)
With SSR, Googlebot instantly gets fully rendered HTML from EVERY possible URL variant:
- http://site.com/page
- https://www.site.com/page/
- http://www.site.com/page
- https://site.com/page/index.html
And 8+ more variations 😱
=> To Google, these are 12+ DIFFERENT pages with identical content.
❌ Two Deadly SEO Problems:
1. Keyword Cannibalization
Instead of one strong page in top rankings => dozens of weak duplicates in the middle. Your site competes against itself.
2. Crawl Budget Burnout
Googlebot wastes 70% of its time scanning duplicates instead of indexing new content. New articles don't appear in search for weeks.
✅ Solution (5-Minute DevOps Task):
Create a ticket with these 4 NGINX redirect rules:
1. http => https (301 permanent)
2. www => non-www (301 permanent)
3. Remove trailing / in URLs
4. Remove /index.html from all URLs (including homepage!)
Complete transformation example:
📊 Immediate Benefits:
✔ Single canonical URL for every page
✔ No weight dilution - all link equity goes to one version
✔ Googlebot indexes new content, not duplicates
✔ Social shares accumulate for one URL
💡 Implement this and see the difference in Search Console in 2-3 weeks.
Like 👍 if helpful.
Share with your DevOps 🔄 - 5 minutes for them, big SEO win for you.
With SSR, Googlebot instantly gets fully rendered HTML from EVERY possible URL variant:
- http://site.com/page
- https://www.site.com/page/
- http://www.site.com/page
- https://site.com/page/index.html
And 8+ more variations 😱
=> To Google, these are 12+ DIFFERENT pages with identical content.
❌ Two Deadly SEO Problems:
1. Keyword Cannibalization
Instead of one strong page in top rankings => dozens of weak duplicates in the middle. Your site competes against itself.
2. Crawl Budget Burnout
Googlebot wastes 70% of its time scanning duplicates instead of indexing new content. New articles don't appear in search for weeks.
✅ Solution (5-Minute DevOps Task):
Create a ticket with these 4 NGINX redirect rules:
1. http => https (301 permanent)
2. www => non-www (301 permanent)
3. Remove trailing / in URLs
4. Remove /index.html from all URLs (including homepage!)
Complete transformation example:
http://www.example.com/index.html?utm=test => https://example.com/?utm=test
📊 Immediate Benefits:
✔ Single canonical URL for every page
✔ No weight dilution - all link equity goes to one version
✔ Googlebot indexes new content, not duplicates
✔ Social shares accumulate for one URL
💡 Implement this and see the difference in Search Console in 2-3 weeks.
Like 👍 if helpful.
Share with your DevOps 🔄 - 5 minutes for them, big SEO win for you.
3👏4
🚀 WebMCP - Websites Learn to Talk to AI Agents
On February 10, 2026, Google dropped something big: WebMCP (Web Model Context Protocol) - a brand new web standard that fundamentally changes how AI agents interact with websites.
🤦 The problem today
Right now, AI agents interact with the web in a pretty ugly way: they take screenshots, parse the DOM, and basically guess where to click. It's slow, fragile, and burns through tokens like crazy.
💡 What WebMCP does
WebMCP lets websites explicitly declare what actions are available through structured "tools". The AI agent no longer guesses - it knows exactly what it can do and how.
⚙️ Two ways to integrate:
1. Declarative (HTML) - just add
2. Imperative (JavaScript) - register tools via navigator.modelContext.registerTool() for complex scenarios with dynamic logic (see attached screen).
Angular already has ready-to-go patterns: registration via ngOnInit/ngOnDestroy, SSR support with isPlatformBrowser(), and NgZone integration for proper change detection. Pretty smooth 👌
📊 Why should frontend devs care?
• 89% fewer tokens compared to screenshot-based approaches
• Stability: tool contracts don't break when you redesign the UI
• Security: same-origin policy + user confirmation for sensitive ops
• Your site controls what's exposed to agents - not the other way around
Real-world use cases:
✈️ Travel - search & book flights through an agent
🛍 E-commerce - browse catalog & checkout without friction
🎧 Support - auto-generate detailed tickets with all the context
📌 Status: early preview in Chrome 146 Canary. Co-developed by Google and Microsoft. Full release expected mid-2026. Standardization happening through the W3C Community Group.
🔗 Docs: developer.chrome.com/blog/webmcp-epp
🅰️ Angular integration: docs.mcp-b.ai/frameworks/angular
The agentic web is coming. Time to make our apps ready for it 🔥
On February 10, 2026, Google dropped something big: WebMCP (Web Model Context Protocol) - a brand new web standard that fundamentally changes how AI agents interact with websites.
🤦 The problem today
Right now, AI agents interact with the web in a pretty ugly way: they take screenshots, parse the DOM, and basically guess where to click. It's slow, fragile, and burns through tokens like crazy.
💡 What WebMCP does
WebMCP lets websites explicitly declare what actions are available through structured "tools". The AI agent no longer guesses - it knows exactly what it can do and how.
⚙️ Two ways to integrate:
1. Declarative (HTML) - just add
toolname and tooldescription attributes to regular HTML forms. Chrome generates the schema for the agent automatically. Zero JavaScript needed.2. Imperative (JavaScript) - register tools via navigator.modelContext.registerTool() for complex scenarios with dynamic logic (see attached screen).
Angular already has ready-to-go patterns: registration via ngOnInit/ngOnDestroy, SSR support with isPlatformBrowser(), and NgZone integration for proper change detection. Pretty smooth 👌
📊 Why should frontend devs care?
• 89% fewer tokens compared to screenshot-based approaches
• Stability: tool contracts don't break when you redesign the UI
• Security: same-origin policy + user confirmation for sensitive ops
• Your site controls what's exposed to agents - not the other way around
Real-world use cases:
✈️ Travel - search & book flights through an agent
🛍 E-commerce - browse catalog & checkout without friction
🎧 Support - auto-generate detailed tickets with all the context
📌 Status: early preview in Chrome 146 Canary. Co-developed by Google and Microsoft. Full release expected mid-2026. Standardization happening through the W3C Community Group.
🔗 Docs: developer.chrome.com/blog/webmcp-epp
🅰️ Angular integration: docs.mcp-b.ai/frameworks/angular
The agentic web is coming. Time to make our apps ready for it 🔥
🔥5❤1👏1
provideAnimations() => provideAnimationsAsync()
If you're still using
The change is literally one line:
But here's the catch: until the animations module is loaded, all animations run in
For 99% of apps this is invisible - the module loads almost instantly. But if you have a critical animation on the initial render — keep this in mind.
Available since Angular 17+.
If you're still using
provideAnimations() in your app.config.ts - consider switching to provideAnimationsAsync(). This lazy-loads the Angular animations module (`@angular/animations/browser`), shaving off ~60 KB from your initial bundle for free.The change is literally one line:
// before
provideAnimations()
// after
provideAnimationsAsync()
But here's the catch: until the animations module is loaded, all animations run in
noop mode - meaning they are simply skipped. In practice, if you have an animation on the very first screen (e.g., a fade-in on page entry), users might briefly see content appear without animation.For 99% of apps this is invisible - the module loads almost instantly. But if you have a critical animation on the initial render — keep this in mind.
Available since Angular 17+.
👍9🔥2