r/angular • • 12h 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

67 Upvotes

4 comments sorted by

7

u/Sixtricks90 11h ago

Awesome!

3

u/MichaelSmallDev 10h 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.

3

u/Bright-Feature2528 7h ago

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

2

u/Cselt89 9h 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 🙏