You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A React hook that automatically triggers fetches of data from an endpoint, 'subscribes' the component to the cached data, and reads the request status and cached data from the Redux store. The component will re-render as the loading status changes and the data becomes available. Additionally, it will cache multiple "pages" worth of responses within a single cache entry, and allows fetching more pages forwards and backwards from the current cached pages.
895
941
*
@@ -927,6 +973,22 @@ export type UseInfiniteQuery<
927
973
'fetchNextPage'|'fetchPreviousPage'
928
974
>
929
975
976
+
exporttypeTypedUseInfiniteQuery<
977
+
ResultType,
978
+
QueryArg,
979
+
PageParam,
980
+
BaseQueryextendsBaseQueryFn,
981
+
>=UseInfiniteQuery<
982
+
InfiniteQueryDefinition<
983
+
QueryArg,
984
+
PageParam,
985
+
BaseQuery,
986
+
string,
987
+
ResultType,
988
+
string
989
+
>
990
+
>
991
+
930
992
/**
931
993
* A React hook that reads the request status and cached data from the Redux store. The component will re-render as the loading status changes and the data becomes available.
932
994
*
@@ -987,6 +1049,33 @@ export type UseInfiniteQueryHookResult<
0 commit comments