daviesaz opened this issue 2 years ago · 1 comments
The pagination example uses fetch directly rather than useFetch. Was it meant to use useFetch?
@daviesaz fetch is used in the function that makes the request with the data that is injected through usePaginationRequest, you don't have to use useFetch, since a hook can't be used inside a code block different from the one of the component.