Syntax - Tasty Web Development Treats

833: Next Gen Fullstack React with TanStack

6 snips
Oct 11, 2024
Tanner Linsley, the mastermind behind TanStack, dives into the evolution of the React ecosystem and his suite of tools like TanStack Query and Router. He discusses the excitement surrounding TanStack Start and its impact on creating data-heavy user interfaces. The conversation also highlights server-side implementations and advantages of the new type-safe TanStack Router. Tanner sheds light on state management challenges and innovative solutions, all while sharing insights on the future of TanStack and his passion for tech.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Server Components as Async Data

  • Server components are just another form of asynchronous data, managed like any other async state.
  • TanStack Query provides the necessary tools for managing this state.
ANECDOTE

createFromFetch Placement

  • Move createFromFetch towards rendering instead of APIs when working with readable streams.
  • This maintains portability and cacheability.
INSIGHT

Built-in Caching

  • TanStack Router has a built-in mini version of TanStack Query for caching.
  • Migrate to the full Query when your needs outgrow the built-in version.
Get the Snipd Podcast app to discover more snips from this episode
Get the app