DEV Community

Cover image for Episode 23/03: Service Patterns, tRPC in Angular, and much more...
ng-news
ng-news

Posted on

Episode 23/03: Service Patterns, tRPC in Angular, and much more...

Manfred Steyer took a deep dive into Angular Services.

A bunch of excellent articles from Enea Jahollari (pure pipes), Thomas Laforge (functional router guards), and Robin Götz (structural directives series) were released.

And Kevin Kreuzer shows tRPC for Angular.

Patterns for Custom Standalone APIs in Angular

Manfred Steyer, known for his work on Micro Frontends, wrote a deep-dive article about providing services and design patterns. The focus lies on library developers.

He showcases how to make sure developers can only provide services on the root scope. Also, how services provided in lazy-loaded scopes can interact with their root-scoped services or even delegate to them.

Although application developers will need them rarely, it is still good to know what is possible.

Advanced Articles

Async pipe is not pure

Enea Jahollair explained the inner workings of the async pipe by implementing a prototype.

Everything you need to know about route Guard in Angular

Thomas Laforge wrote about the different router guards and that you should start to move to the functional types because the services will be deprecated in 15.2.

Mastering Angular Structural Directives - It’s all about the context

Robin Götz published his second article in his series about structural directives.

Kevin Kreuzer: tRPC & Angular

If your stack runs entirely on TypeScript, you should definitely take a look into tRPC. It gives you type safety for your backend calls. Very similar to OpenAPI or GraphQL but without a code generator.

Kevin Kreutzer showed on Twitch how to integrate tRPC in Angular. A summarized version is available on YouTube.

Miscellaneous

The Angular Developer Survey is open. So please provide feedback.

The CfP for the Angular Tiny is also open. That's a free, remote conference lasting one day. You can apply until the 5th of February.

New Releases

Ionic had a minor version upgrade to 6.5.

Release Notes


Spectator, a testing library, had a major upgrade to 14.

Release Notes

Top comments (0)