feat: ReactQueryStreamedHydration

This commit is contained in:
ner committed 2024-10-29 09:33:42 +02:00
1 parent 0e146b0c53
commit e9c0f3bef3
12 files changed
+71 -52

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ export type SimilarQueryProps = {
const similarQuery = ({ showId, showType }: SimilarQueryProps) => ({
enabled: Boolean(showId),
suspense: true,
queryKey: ['similar', showId, showType],
initialPageParam: '1',
queryFn: ({ pageParam = '1' }: { pageParam?: string }) =>