DEV Community

Cover image for Episode 23/09: RouterTestingHarness, Signals, "TypeScript Magic" behind NgRx
ng-news
ng-news

Posted on

Episode 23/09: RouterTestingHarness, Signals, "TypeScript Magic" behind NgRx

Andrew Scott wrote about the RouterTestingHarness, which makes router-related testing a joy. Then, Manfred Steyer discussed the future of Change Detection in a world of signals, and Marko Stanimirović with a masterclass on advanced TypeScript techniques.

RouterTestingHarness

Next to the migration script to standalone components, Angular 15.2 introduced the RouterTestingHarness. In the past, testing components that depended on the Router was always hard. However, with that new harness, it is relatively easy.

Andrew Scott, a member of the Angular team, published a blog post where he showed in detail how that harness works and also clearly presented the advantages over manually written test doubles that you might have.

Signals in Angular: The Future of Change Detection

The hype around Signals, the most awaited feature in Angular, doesn't end. We got quite a lot of new articles. For example, "Signals in Angular: The Future of Change Detection" by Manfred Steyer.

In his demo application, he used the current signals prototype to apply them not to a single value, as we see in most articles these days, but to an array containing objects.

You can find more signal's related articles on

TypeScript Magic behind NgRx

If you are interested in advanced TypeScript concepts, then you should watch Brandon Robert's video. He hosted Marko Stanimirovic, one of the NgRx core developers. Marko was behind some of the latest features that heavily used conditional types, mapped types, and template literal types. It almost looks like magic if you see them in action.

Marko live-coded prototypes of those NgRx features and of course explained them.

Top comments (0)