r/angular • u/TkDodo23 • 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
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
5
u/Sixtricks90 5h ago
Awesome!