TanStack Query(a.k.a. React Query) v5 announced

2023-10-19Hacker NewsShare on TwitterShare on LinkedinCopy 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.
made with 💙 by the team at Newsprint