T
TanStack2y ago
national-gold

Why used axios instead of react query in example?

https://tanstack.com/router/v1/docs/framework/react/examples/basic-react-query-file-based in the given example post.tsx uses axios instead of react query why?(count me as newbie on tanstack family)
React Router Basic React Query File Based Example | TanStack Router...
An example showing how to implement Basic React Query File Based in React Router
1 Reply
flat-fuchsia
flat-fuchsia2y ago
because the basic example shows using the router + the router based cache without query. There are separate examples that show how to integrate the router with react-query.

Did you find this page helpful?