-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pagination example doesn't use useFetch #58
Comments
@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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The pagination example uses fetch directly rather than useFetch. Was it meant to use useFetch?
The text was updated successfully, but these errors were encountered: