Angular Munich – Telegram
Angular Munich
179 subscribers
554 photos
41 videos
9 files
705 links
Stay up to date with Angular Framework ;-)

Need more: https://linktr.ee/ngxsamurai
Download Telegram
🛑 Avoid using detectChanges() 🛑

"But what if no event will schedule a CD cycle?"

Congrats.

This is the ONLY case you need it for.

In the Template use reactive variables.

- Observables
- Signals


Let them do the work for you.

Have a non-reactive variable?

- markForCheck() should be enough in most cases

#angular
🧙🏻‍♂️ 5 harsh truths about workplaces no one will tell you!

1. They call you family, but they don’t mean it

Family members are irreplaceable.

But as soon as an employee leaves a company, they issue a new JD to replace them.

So no, don’t fall for the “family” tag.

2. They don’t want you to become a leader

They need people to boss over and get work done from.

If you become a leader, who will do their work?

3. Remote work is not a perk.

It means 24*7 work.

If you work remotely, it’s important you create your work boundaries and remember that work is not your whole life. It’s only a part of it.

4. Most bosses are micro-managers not leaders

Managers will manage you, leaders will help you grow.

Very few companies have great leaders - and you are very fortunate if you work under one of them.

5. They think money can buy everything

Flapping a big pay-check isn’t going to solve bigger problems like - toxic workplace, poor managers, bad culture, terrible work-life balance etc.

(c) sahaschopra
It's all too easy to get confused about Extract/Exclude vs Pick/Omit.

Here's a little cheatsheet.

(c) mapocock

#typenoscript #ts
🧙🏻‍♂️ Protect your Angular app from infinite change detection loops

Lately, Angular introduced signals, which are wonderfully powerful and greatly simplify the way we write Angular applications...


https://justangular.com/blog/protect-your-app-from-infinite-change-detection
🧙🏻‍♂️ OnPush + Signals = Local Change Detection

OnPush without Signals
- marks entire component branches for checking.

OnPush with Signals:
- marks components directly affected by the signal change.

‼️ Available since v17

#angular
The demo aims to teach the basics of the Angular compiler.

The angular template compiler transforms angular templates (HTML) into javanoscript.
The templates are compiled into view functions made of sequential calls of instructions.
Angular instructions are functions that are easily recognizable with their leading ɵɵ.


https://jeanmeche.github.io/angular-compiler-output/
🤖 A step-by-step guide to integrating Google Gemini into your Angular applications.

In this post, you are going to learn how to access Gemini APIs to create the next generation of AI-enabled Applications using Angular.
Angular Munich pinned «https://www.angulararchitects.io/successful-with-signals-in-angular-patterns-for-your-architecture/#register»