DEV Community

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

Posted on

2

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.

SurveyJS custom survey software

Build Your Own Forms without Manual Coding

SurveyJS UI libraries let you build a JSON-based form management system that integrates with any backend, giving you full control over your data with no user limits. Includes support for custom question types, skip logic, an integrated CSS editor, PDF export, real-time analytics, and more.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay