Episode: 23/21: Q&A with the Angular Team, Angular Plus Show, Developer Survey Results
Tags: webdev, javascript, programming, angular
Published: 2023-06-02 12:45:57

The Angular gaming show featured Mark and Jeremy discussing standalone components, change detection, Signals and the `inject` function for dependency injection, Minko Gechev appeared on Angular+. The Angular developer survey results showed increased satisfaction but also areas for improvement.

{% embed https://youtu.be/SqSCePlqUQ0 %}

## Q&A with the Angular Team

We had our monthly Angular gaming show featuring Mark and Jeremy from the Angular team, where they addressed various questions and provided insightful information. Here are some of the key highlights:

Jeremy emphasised that the future of Angular is focused on standalone components. However, NgModules will not be removed as many existing applications heavily rely on them, including Angular Material.

{% embed https://www.youtube.com/watch?v=ZR_r1H8-Y_E&t=782s %}

There might be some confusion between zone.js and change detection. These two are not the same thing. Change detection is the part that updates the DOM and will stay in a Signal world. Zone.js, as well as Signals, trigger the change detection. With Signal components, planned for Angular 17, the change detection will become more efficient or, as they call it: fine-grained.

{% embed https://www.youtube.com/live/ZR_r1H8-Y_E?feature=share&t=2532 %}

Signals will not replace state management libraries like NgRx or RxAngular. The Angular team recognises the need for such libraries and actively collaborates with vendors to ensure compatibility and progress.

{% embed https://www.youtube.com/live/ZR_r1H8-Y_E?feature=share&t=1761 %}

When it comes to using the `inject` function versus the constructor for dependency injection, the recommendation is to opt for the `inject` function. In the future, there might even be an automatic migration towards this approach.

The rationale behind this lies in the standardisation of decorators. Angular aims to use standardised decorators rather than experimental ones. Parameter decorators, particularly in constructor-based injection, lack standardisation and present uncertainties. In contrast, the `inject` function avoids these issues by utilising a normal object literal.

{% embed https://www.youtube.com/live/ZR_r1H8-Y_E?feature=share&t=3566 %}
 
## Angular Plus Show with Minko Gechev

Minko Gechev appeared as a guest on the Angular+ show, a podcast with three hosts. They discussed the release of Angular 16 and focused on its two main features: Signals and hydration. While no groundbreaking revelations emerged, the episode provided a comprehensive overview, along with engaging discussions on topics such as the future of RxJs and the comparison between Standalone and NgModules. The atmosphere was relaxed and friendly, making it an enjoyable and informative episode.

{% embed https://www.spreaker.com/user/ng-conf/s5-e13-discussing-angular-16-and-beyond- %}

## Angular Developer Survey Results

Additionally, Minko Gechev shared the results of the Angular survey. Overall, satisfaction with the framework increased from 85% to 89%. Areas for potential improvement highlighted by the community include documentation, the authoring format, and initial load performance.

{% embed https://blog.angular.io/angular-developer-survey-2022-results-summary-d17c88f62690 %}