This week, we’re back to using the 3-2-1 format of the newsletter. I’m posting a few essential articles to revisit, updates to know about, and one question to ponder:
Three short articles to revisit:
- You probably know about lazy-loading, but have you considered using the @defer block with its prefetching and different trigger options? These features give you a lot more control over lazy-loading and don’t rely on routing at all.
Two Angular updates:
- Angular 19.2 is available! It comes with quite a few interesting experimental features, such as a new httpResource (the signal-based alternative to HttpClient), a
defaultValue
option for resources, the ability to use JavaScript template strings in Angular templates, as well a new CLI migration to use self-closing tags: ng generate @angular/core:self-closing-tag
- On March 27th, we’ll be running Frontend Nation Angular Day with Minko Gechev, Sarah Drasner, and Jessica Janiuk from the Angular team! It’s a free, online event. Save the date now and register here.
One question to think about:
- Have you tried the resource API? It’s promising, and the Angular team is considering it as the solution for reactivity with Signals and without RxJs. Check out my quick tutorial here.