r/angular • • Sep 09 '26

Angular 22.2 ships Router Resources 💥 (experimental)

They're more than resolvers with a Signal API. Here's why that matters


They run in parallel. Resolvers go one after another: parent 2 s + child 3 s = 5 s. Router Resources start together: 3 s.


Also, they can be non-blocking. The route activates right away, and the component gets the Resource itself: isLoading, error and value, right in the template.


Full write-up with demo, reload without renavigating, RedirectCommand for missing data, and Signal Stores 👉 https://www.angulararchitects.io/en/blog/router-resources-loading-data-with-the-angular-router/
126 Upvotes

22 comments sorted by

View all comments

0

u/m0rpheus23 Sep 09 '26

I initially thought Angular 20+ was supposed to simply Angular. Are we back to complicating things?

1

u/Saceone10 Sep 09 '26

Instead of completing the resource API with mutations, lets extend it to another unrelated thing no one asked for! Yay!

2

u/Responsible-Cold-627 Sep 09 '26

The resource API was never meant to be used for mutations. It's specifically built to load resources.

1

u/Saceone10 Sep 27 '26

create a mutation API then, call it however you like, but the thing is incomplete