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
- accepts a `pageToken` query string parameter to do pagination
20
30
- returns data in the format:
21
31
22
32
```json
23
33
{
24
-
"data": [...],
34
+
"data": [{
35
+
"id": 1,
36
+
"value": "some value"
37
+
}],
25
38
"nextPage": "some opaque string"
26
39
}
27
40
```
28
41
42
+
### Client
43
+
44
+
See example client:
45
+
46
+
[](https://codesandbox.io/s/with-axios-hooks-u035y?fontsize=14&hidenavigation=1&theme=dark)
47
+
29
48
Assuming you're using a library like [axios-hooks](https://github.com/simoneb/axios-hooks/) to interact with the API:
30
49
31
50
```js
@@ -35,7 +54,37 @@ import useTokenPagination from 'token-pagination-hooks'
0 commit comments