DEV Community

Cover image for Ng-News: Issue 22/10
Rainer Hahnekamp
Rainer Hahnekamp

Posted on

Ng-News: Issue 22/10

This is a weekly posting, covering the latest updates from the Angular community.

ECMAScript proposal for types

TypeScript published an ECMAScript proposal to add types. ECMAScript is the name of the JavaScript standard.

This means we could add types in JavaScript as we do with TypeScript, but it doesn't make JavaScript a statically typed language. Instead, the engine, which executes JavaScript, would simply ignore these types, and we still need to run the type checks inside of our IDE or CI.

So what's the benefit?

We don't need to compile anymore. Compiling TypeScript to JavaScript is nothing more than removing the type information. In addition, the compiler requires a building tool you need to configure, etc. That all would go away.

The proposal is in stage 0, so we are still at the very beginning.

https://github.com/giltayar/proposal-types-as-comments/

Angular Twitter Space

Angular did their first Twitter Space. Emma, Mark, and Minko represented the Angular team.

Participants could ask their questions only via audio and not by chat message, as typical with similar formats. That gave the whole session a more personal touch. Since it was the premiere, it was not recorded.

One noteworthy point was about the successor for Protractor. Although Angular doesn't nominate an official replacement, there exists a cooperation between E2E frameworks and the Angular team, if these frameworks fulfill certain requirements.

The command ng e2e lists them and their schematics.

Miscellaneous

Release Candidate Angular 13.3

We have a first release candidate for Angular 13.3.

https://github.com/angular/angular/releases/tag/13.3.0-rc.0

Future of Micro-Frontends

"The Future of Micro-Frontends" is an article from Luca Mezzalira where he discusses the topic from different perspectives.

It is not specific for Angular but more general.

https://medium.com/better-programming/the-future-of-micro-frontends-2f527f97d506

Use Angular directives to extend components that you don’t own

From Tim Deschryver, we got an article on how to reduce the verbosity of components in Angular that tend to have a lot of input properties.

https://timdeschryver.dev/blog/use-angular-directives-to-extend-components-that-you-dont-own

Top comments (0)