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
Copy file name to clipboardExpand all lines: packages/hydrogen/src/pagination/Pagination.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ type PaginationProps<NodesType> = {
87
87
connection: Connection<NodesType>;
88
88
/** A render prop that includes pagination data and helpers. */
89
89
children: PaginationRenderProp<NodesType>;
90
-
/** A namespace for the pagination component to avoid URL param conflicts. */
90
+
/** A namespace for the pagination component to avoid URL param conflicts when using multiple `Pagination` components on a single page. */
91
91
namespace?: string;
92
92
};
93
93
@@ -434,7 +434,7 @@ export function usePagination<NodesType>(
434
434
435
435
/**
436
436
* @param request The request object passed to your Remix loader function.
437
-
* @param options Options for how to configure the pagination variables. Includes the ability to change how many nodes are within each page.
437
+
* @param options Options for how to configure the pagination variables. Includes the ability to change how many nodes are within each page as well as a namespace to avoid URL param conflicts when using multiple `Pagination` components on a single page.
438
438
*
439
439
* @returns Variables to be used with the `storefront.query` function
0 commit comments