本页还没有译文
本页 12 段还没译成Português (BR),下面显示的是英文原文。useQueryClient
还没翻译译自英文(tanstack.com)本页 12 段都还没译
function useQueryClient(queryClient?: QueryClient): QueryClient;Defined in: packages/react-query/src/QueryClientProvider.tsx:21
The useQueryClient hook returns the current QueryClient instance.
Parameters
queryClient?
Use this to use a custom QueryClient. Otherwise, the one from the nearest context will
be used.
Returns
The current QueryClient instance.
Throws
If no queryClient argument is passed and no QueryClientProvider is found in the
component tree.
AI 翻译查看英文原文