DEV Community

Cover image for Episode 24/24: Vertical Architectures, WebAssembly, Angular v9's Secret, NgRx
ng-news for This is Angular

Posted on

Episode 24/24: Vertical Architectures, WebAssembly, Angular v9's Secret, NgRx

Brandon Roberts unveiled why Angular 9 has the highest download rates. Manfred Steyer gave a talk about vertical architectures. Evgeniy Tuboltsev published a guide on how to integrate WebAssembly into Angular, and NgRx 18 was released.

Vertical Architectures

At the Angular Community Meetup, Manfred Steyer presented an upgraded version of his talk about DDD in Angular.

He mentioned the team topologies model, where we have four different types of teams responsible for different tasks:

  1. Platform services team
  2. Specialization team
  3. Supportive teams
  4. Value stream team

NgRx 18

NgRx, the most popular state management library in Angular, was released in v18 making it compatible to Angular 18.

Be careful, if you want to use the Signal Store. It will become stable later and it is not released yet.

To use it in Angular 18, run npm i @ngrx/signals@next or use the schematic (also with the next tag).

The secret behind Angular 9

At the moment, Angular is downloaded around 3.5 million times per week, making it the third most downloaded framework after React and Vue.

Around 450,000 downloads come from Angular 9. Given that the current version is 18, that's a little bit strange.

Brandon Roberts discovered that Angular 9 is a dependency of codelzyer. Codelzyer is a library we used before typescript ESLint came out.

It is very likely that Codelyzer is part of many applications, although it is not actively used, and developers should remove it.

According to the statistics, Codelzyer has a current download number of 600,000.

Without Codelzyer, Angular's download numbers would/will drop by 17%.

WebAssembly & Angular

WebAssembly allows to run application in browser, which have been written in other languages than Javascript. In addition, the execution speed is almost like native code.

Evgeniy Tuboltsev wrote an article where he showed, how to port an application written in Rust to WebAssembly and consume it in Angular. As for the comparison, his example runs three faster than its JavaScript counterpart.

Top comments (1)

Collapse
 
jangelodev profile image
João Angelo

Top, very nice !
Thanks for sharing. ✅