React-query: A Lightweight and Convenient Caching Library for React Apps
summary
Introduces react-query as a lightweight caching and data-management library for React apps, explaining how it lets you cache, store, delete and keep data fresh without wiring state, context or Redux. Shares personal experience and reasons why react-query is worth using for handling timeouts and data freshness out of the box.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 4:22Data storage problems
- 7:16Setup and hooks
- 11:09Caching principles
- 14:21Cache invalidation
- 19:16Mutations for updates
- 21:05Infinite Queries
- 22:31Persistent Storage
- 23:56React Query demo
- 28:28Summary and tips
- 29:11Q&A
related talks
41mReact Query: The Next Big Library?
11mSimple data fetching with React Query
25mReact Query Under the Hood
20mReact Query API Design – Lessons Learned
27mReact query and auth: Who is responsible for what?
19mReact Query and Auth: Who is Responsible for What?
30mReact Query API Design: Lessons Learned
52mManaging Remote State in React
