Tanstack Query + Router Integration in 8 minutes

Usman Abdur Rehman
Usman Abdur Rehman
430 بار بازدید - 3 ماه پیش - Hi all, in this video
Hi all, in this video I will talk about how we can integrate Tanstack React Router with Tanstack React Query. Tanstack Router and Query being libraries from the same group of people integrate really well and provide a lot of benefits as opposed to traditional data loading.

I Found the Best React Router Library...
Code: https://github.com/usmanabdurrehman/t...

00:00 Intro
00:25 Wrapping App with QueryClientProvider
00:51 Adding Tanstack Query DevTools
00:59 Adding QueryClient in Router Context
01:49 Making reusable query functions using queryOptions
03:00 Consuming Query Data using useSuspenseQuery
03:28 Tanstack Query Cache
03:57 Tanstack Query Stale Time
04:41 Fetching Data for param based query
06:02 Error Handling Using Tanstack Router and Query
07:44 Outro
3 ماه پیش در تاریخ 1403/02/12 منتشر شده است.
430 بـار بازدید شده
... بیشتر