2023-10-19•Hacker News•Share on Twitter•Share on Linkedin•Copy link
Summary:
TanStack Query v5.0.0 has been released after 91 alpha releases, 35 betas, and 16 release candidates.
The new version focuses on streamlining and simplifying APIs, with the biggest breaking change being the removal of most overloads.
New features in v5 include simplified optimistic updates, sharable mutation state, 1st class suspense support, streaming with React Server Components, improved infinite queries, new devtools, fine-grained persistence, and the queryOptions API.