PodRocket - A web development podcast from LogRocket

TanStack Query v5 with Dominik Dorfmeister

Nov 13, 2023
We sit down with Dominik Dorfmeister, TanStack Query maintainer, to talk about the new updates in version 5, including benefits and enhancements in React Query, community feedback and roadmap changes, optimizing memory usage and data fetching in infinite queries, setting stale time on queries for memory optimization, and the future focus of TanStack Query v5.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

TanStack Query Overview

  • TanStack Query simplifies data fetching in frameworks like React, Vue, Solid, and Svelte.
  • It manages asynchronous state, especially for promises, and offers features like polling and pagination.
ANECDOTE

Polling Usefulness

  • Paige Needringhouse found TanStack Query incredibly useful for polling data.
  • It automatically handled the process when the arrival time of new data was uncertain.
ADVICE

Upgrading to V5

  • Upgrading to TanStack Query V5 might require manual adjustments for JavaScript users.
  • Use TypeScript or the ESLint plugin for smoother upgrades and leverage code mods for structural changes.
Get the Snipd Podcast app to discover more snips from this episode
Get the app