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.
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.
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.
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.
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.
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.
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.
Top comments (0)