@isograph/react 0.0.0-main-7f20f7d1 → 0.0.0-main-94c46ec4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,9 @@ type UseSkipLimitReturnValue<TArgs, TItem> = {
|
|
22
22
|
*
|
23
23
|
* Calling fetchMore before the hook mounts is a no-op.
|
24
24
|
*
|
25
|
-
*
|
25
|
+
* NOTE: this hook does not subscribe to changes. This is a known
|
26
|
+
* issue. If you are running into this issue, reach out on GitHub/
|
27
|
+
* Twitter, and we'll fix the issue.
|
26
28
|
*/
|
27
29
|
export declare function useSkipLimitPagination<TArgs extends {
|
28
30
|
skip: number | void | null;
|
@@ -27,7 +27,9 @@ function flatten(arr) {
|
|
27
27
|
*
|
28
28
|
* Calling fetchMore before the hook mounts is a no-op.
|
29
29
|
*
|
30
|
-
*
|
30
|
+
* NOTE: this hook does not subscribe to changes. This is a known
|
31
|
+
* issue. If you are running into this issue, reach out on GitHub/
|
32
|
+
* Twitter, and we'll fix the issue.
|
31
33
|
*/
|
32
34
|
function useSkipLimitPagination(loadableField) {
|
33
35
|
const networkRequestOptions = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@isograph/react",
|
3
|
-
"version": "0.0.0-main-
|
3
|
+
"version": "0.0.0-main-94c46ec4",
|
4
4
|
"description": "Use Isograph with React",
|
5
5
|
"homepage": "https://isograph.dev",
|
6
6
|
"main": "dist/index.js",
|
@@ -17,9 +17,9 @@
|
|
17
17
|
"tsc": "tsc"
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
|
-
"@isograph/disposable-types": "0.0.0-main-
|
21
|
-
"@isograph/react-disposable-state": "0.0.0-main-
|
22
|
-
"@isograph/reference-counted-pointer": "0.0.0-main-
|
20
|
+
"@isograph/disposable-types": "0.0.0-main-94c46ec4",
|
21
|
+
"@isograph/react-disposable-state": "0.0.0-main-94c46ec4",
|
22
|
+
"@isograph/reference-counted-pointer": "0.0.0-main-94c46ec4"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
25
|
"react": "18.2.0"
|
@@ -61,7 +61,9 @@ function flatten<T>(arr: ReadonlyArray<ReadonlyArray<T>>): ReadonlyArray<T> {
|
|
61
61
|
*
|
62
62
|
* Calling fetchMore before the hook mounts is a no-op.
|
63
63
|
*
|
64
|
-
*
|
64
|
+
* NOTE: this hook does not subscribe to changes. This is a known
|
65
|
+
* issue. If you are running into this issue, reach out on GitHub/
|
66
|
+
* Twitter, and we'll fix the issue.
|
65
67
|
*/
|
66
68
|
export function useSkipLimitPagination<
|
67
69
|
TArgs extends {
|