Skip to content

Best way to use useInfiniteQuery with typescript #866

Answered by danielbrauer
qkreltms asked this question in General
Discussion options

You must be logged in to vote

Here is an example using tsnext with the HackerNews API, fetching items in groups of five: https://codesandbox.io/s/confident-dawn-67yb2?file=/src/App.tsx

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@danielbrauer
Comment options

@sayinserdar
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by qkreltms
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants