Angular 14.1
Angular 14.1 was released. A minor version upgrade means that we as developers don't have to change anything, but we get additional features, and there are quite some of them.
For example the CommonModule has now a standalone alternative. This means we can import directives like ngIf, NgFor or pipes like the asyncPipe directly.
Another new feature is the CanMatch RouterGuard. It allows us to assign multiple components to a route and we can define a logic which one of these components should be used.
We got an improvement in the testing area as well. The ComponentRef has a setInput method which sets an @Input property but also triggers the lifecycle hooks. This allows us to test the ngOnChanges hook with comonents that have ChangeDetectionStrategy set to OnPush.
For more information, check out the latest article of the ninja squad's blog.
✨ @Angular v14.1 is out ✨
And it is packed with features!
Here is our usual deep dive blog post:
👉 blog.ninja-squad.com/2022/07/21/wha…
Some highlights of the release in the 🧵👇15:26 PM - 21 Jul 2022
Alex Okrushko on Testing
At the Angular Kenya meetup, Alex Okrushko, a member of the NgRx team, gave a talk about testing.
If you want to know why you should include the DOM interaction in your component tests, why you don't have to use the TestBed all the time, or some general tips on how to write quality tests then this talk is definitely for you.
Lightning Talks
There was mini conference with various lightning talks. It was organized by the Angular Community Meetup.
Other Updates
Next to Angular 14.1, we had other minor version releases. Playwright, E2E testing framework, with version 1.24, the old veteran bootstrap to 5.2 and also a with PrimeNg 14 a new major release.
Playwright 1.24: https://github.com/microsoft/playwright/releases/tag/v1.24.0
Top comments (0)