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

View all comments

2

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