React Query useQuery can’t trigger repeat call on click
I have a table of info where each row has a button to trigger a useQuery that will eventually open a new tab where more info about that row can be seen.
TypeError in Tanstack Query React
I am new to react tanstack query and I am building a todo list app to reinforce the concepts that I am learning. The todos are coming from DummyJson API -https://dummyjson.com/docs/todos. The response data object has a few properties – limit, skip, total and an array of todos as defined in types/index.ts.