🦜 Angular Newsletter
@www.angulartraining.com.daily-newsletter@rss-parrot.net
I'm an automated parrot! I relay a website's RSS feed to the Fediverse. Every time a new post appears in the feed, I toot about it. Follow me to get all new posts in your Mastodon timeline!
Brought to you by the RSS Parrot.
---
Tutorials and updates about the Angular framework
Your feed and you don't want it here? Just
e-mail the birb.
How to use toSignal() outside of an injection context?
https://www.angulartraining.com/daily-newsletter/how-to-use-tosignal-outside-of-an-injection-context/
Published: August 29, 2024 21:52
If you’ve ever tried to convert an Observable into a Signal using the toSignal() function, you might have encountered the following error NG0203: toSignal() can only be used within an injection context: This happens when you create an Observable outside of…
How to migrate Angular syntax to the latest features?
https://www.angulartraining.com/daily-newsletter/how-to-migrate-angular-syntax-to-the-latest-features/
Published: August 21, 2024 22:34
I posted about how to update your version of Angular a while back. Still, with the ongoing updates in the framework, such as standalone components, the new control flow syntax, and the inject() function, there are quite a few new options that aren’t…
When you don’t need template-driven or reactive forms
https://www.angulartraining.com/daily-newsletter/when-you-dont-need-template-driven-or-reactive-forms/
Published: August 7, 2024 19:24
A common misconception shared by many Angular developers is that if you have a form, you need to use template-driven or reactive forms to handle it. The truth is, in most cases, simple forms don’t need any of that. Instead, you can use template reference…
FormGroup: All you need to know
https://www.angulartraining.com/daily-newsletter/formgroup-all-you-need-to-know/
Published: August 1, 2024 00:40
Recently, during an Angular Accelerator coaching call, my client asked what is the point of using FormGroup. I then realized I had never written about FormGroup, so here is a post to fix that. When using reactive forms, we always have at least one…
What’s new in Angular 18.1?
https://www.angulartraining.com/daily-newsletter/whats-new-in-angular-18-1/
Published: July 17, 2024 22:23
Last week, I covered the new @let syntax to create local variables in our HTML templates. Let’s review some other notable updates from Angular 18.1. toSignal() custom equality function Remember the toSignal function to convert an Observable into a Signal?…
@let for local variables in Angular views
https://www.angulartraining.com/daily-newsletter/let-for-local-variables-in-angular-views/
Published: July 12, 2024 00:39
Angular 18.1 brought a new feature to our Angular templates: the ability to create local variables. Just like the new control-flow blocks @if, @for, and @switch, the new syntax uses the @ character with a new keyword: @let. Here is an example: The above…
3 pieces to discover or read again this summer
https://www.angulartraining.com/daily-newsletter/3-pieces-to-discover-or-read-again-this-summer/
Published: July 6, 2024 00:19
It’s early July, and in several countries, it’s a time for vacation, relaxation, and even celebration, like for us in the United States, with the 4th of July holiday to celebrate the country’s declaration of independence. As a result, it’s a good time to…
Debugging without breakpoints
https://www.angulartraining.com/daily-newsletter/debugging-without-breakpoints/
Published: June 26, 2024 22:25
I covered the Angular Devtools extension in a newsletter entry last year, and this browser extension keeps getting better and better. For instance, with Angular 17, an injector tree view feature was added. With the addition of signals to the framework, we…
Tutorial: Architecting forms with Signals
https://www.angulartraining.com/daily-newsletter/tutorial-architecting-forms-with-signals/
Published: June 19, 2024 22:09
In today’s post, I want to showcase several Angular framework features in one example. More specifically, we’ll use standalone components, signals with model() and input(), as well as forms. Our goal is to build a reusable date-range picker component to…
Talks on Signals, SSR, and Angular 18
https://www.angulartraining.com/daily-newsletter/talks-on-signals-ssr-and-angular-18/
Published: June 4, 2024 22:25
I’m giving several talks at free conferences and events this week, so I thought I would share those with you in case you’re interested. As always, all of these are free for you to enjoy. Two of those events already have a recording available on YouTube:…