As part of signal migration and finally to get rid of angular lifecycle hooks let's read how viewChild, viewChildren, contentChild and contentChildren can be used with effect and computed instead of ngAfterViewInit and ngAfterContentInit.
#angular #signals
https://blog.angular-university.io/angular-viewchild-contentchild/?utm_source=newsletter&utm_medium=email&utm_campaign=the_new_angular_template_query_system_you_need_to_know&utm_term=2025-03-21
#angular #signals
https://blog.angular-university.io/angular-viewchild-contentchild/?utm_source=newsletter&utm_medium=email&utm_campaign=the_new_angular_template_query_system_you_need_to_know&utm_term=2025-03-21
Angular University
Angular viewChild,viewChildren, contentChild (Full Guide)
A super-detailed guide to the new Angular signal queries: viewChild(), viewChildren, contentChild() and contentChildren().
Don't miss to ready those articles of this new Angular Dev Team contributor.
For info - Matthieu invented Angular Hydration debugging tool.
https://riegler.fr/blog
For info - Matthieu invented Angular Hydration debugging tool.
https://riegler.fr/blog
riegler.fr
Matthieu Riegler
Home is where wifi connects automatically
Did you know that in angular version 19+ you can use
#name
instead of
private name
to make them true private?
I didn't know that properties with private field works only before compile time and it is open in production code for access.
Here is a good article about this https://riegler.fr/blog/2024-05-17-private-fields-downleveling
Make sure you are not using in earlier angular versions as it will result in weakMap creation.
#angular #ts #typescript #advanced #tips
#name
instead of
private name
to make them true private?
I didn't know that properties with private field works only before compile time and it is open in production code for access.
Here is a good article about this https://riegler.fr/blog/2024-05-17-private-fields-downleveling
Make sure you are not using in earlier angular versions as it will result in weakMap creation.
#angular #ts #typescript #advanced #tips
riegler.fr
Understand private properties downleveling in Angular
And more on browserslist and Esbuild integration into Angular
Lifecycle-Hook-Free Angular: Building Components with Modern APIs
https://www.youtube.com/live/5m0eqGxrLUo?t=23477s
Article: https://riegler.fr/blog/2024-12-31-lifecycle-hook-less
#angular #hooks #advanced
https://www.youtube.com/live/5m0eqGxrLUo?t=23477s
Article: https://riegler.fr/blog/2024-12-31-lifecycle-hook-less
#angular #hooks #advanced
YouTube
NgGlühwein 2024 | 14.12. Vienna
🎉 Get ready for a free Mini Conference to celebrate the end of 2024 with the Angular Vienna Community 🎉
What's on the agenda:
🗣️ International Top Speakers
🎓 Knowledge sharing
🎫 Raffles of cool prices
👥 Meet old and new friends from the community
🍻 Free…
What's on the agenda:
🗣️ International Top Speakers
🎓 Knowledge sharing
🎫 Raffles of cool prices
👥 Meet old and new friends from the community
🍻 Free…