Angular πŸ‡ΊπŸ‡¦ - practical notes
1.63K subscribers
1.6K photos
1 file
532 links
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!
Download Telegram
πŸ“„ Angular Resolver Use Case

#angular #resolver

🚩> Angular 16

βœ… Article Link:
https://itnext.io/understanding-angular-resolvers-b49f6c227278
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘2
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ“„ @Attribute Decorator in Angular

#angular #decorator #attribute

As you can see, when we trigger the change detection by emitting the click event, Angular is checking the value.
We can be more efficient in this case if we use the @Attribute decorator. With this change, Angular will evaluate it once and forget about it. As a general rule, I prefer the @Attribute() approach when the string is a fixed value that never changes.

import { Component, Attribute } from '@angular/core';

@Component({...})
export class ButtonComponent {

constructor(
@Attribute('type')
public type: ButtonType = 'primary'
) {
}

}

βœ… Article Link: https://netbasal.com/getting-to-know-the-attribute-decorator-in-angular-4f7c9fb61243
πŸ‘1
πŸ“„ Angular Micro Frontend: Module Federation in 6 steps

#angular #ModuleFederation

Module Federation is a powerful feature provided by Webpack that enables the implementation of Micro Frontends in Angular. It allows you to dynamically load and integrate remote Angular modules (Micro Frontends) into a main application shell.

Module Federation handles the dynamic loading and sharing of modules, including their dependencies, at runtime. It enables applications to share code and resources, reducing duplication and improving the overall performance and development experience.

βœ… Article Link: https://sagarsnath.medium.com/angular-micro-frontend-module-federation-5bc5638c963f
πŸ‘2
πŸ“„ Angular 16 + Broadcast channel (Auth Fragments)

#angular #BroadcastChannel

βœ… Article Link: https://techshareskk.medium.com/angular-16-broadcast-channel-4049a7f46019
πŸ‘1
πŸ“„ Why Class/Component inheritance in your Angular app might not be good

#angular #inheritance

βœ… Article Link: https://medium.com/hackernoon/why-class-component-inheritance-in-your-angular-app-might-not-be-good-a5d88fdd855b
πŸ‘1πŸ”₯1