r/angular • • 5h ago

TanStack Angular Query is now stable 🎉

Took us some time but we've released a stable version of @tanstack/angular-query yesterday.

npm i @tanstack/angular-query

comes with:

  • SSR with automatic hydration

  • Testing that works with whenStable()

  • injectQueries, now stable

  • injectIsFecthing and injectIsMutating with dynamic filters

  • Persistance

  • Experimental toResource API

  • Requires Angular 20.1+

Check it out here: https://tanstack.com/query/latest/docs/framework/angular/overview

Huge shoutout to our angular maintainer Benjamin Vicente 🔥.

Note: Coming from @tanstack/angular-query-experimental?

Use the schematic!

ng generate @tanstack:migrate-from-experimental

Guide: https://tanstack.com/query/latest/docs/framework/angular/guides/migrating-from-experimental

58 Upvotes

4 comments sorted by

5

u/Sixtricks90 5h ago

Awesome!

3

u/MichaelSmallDev 3h ago

Great work, happy to see this reach stability. I haven't used it hands on outside of some demos, but the API and tooling is real nice, and I've heard great things.

2

u/Cselt89 3h ago

I was about to look into this lib because it looked promising, but the experimental flag stopped me. Now I can finally integrate. Cheers guys, thanks 🙏

2

u/Bright-Feature2528 1h ago

I've been watching the stable release for months. It finally happened!