Getting status integrating react-query with react-router loaders
Hey, hope you're doing well.
I've faced an issue while using react-query with react-router loaders.
I've seen the example https://tanstack.com/query/v4/docs/examples/react/react-router.
The issue is we can't have the query 'status' where we're using useQuery & it's always in 'success' state.
Thanks in advance.
I've faced an issue while using react-query with react-router loaders.
I've seen the example https://tanstack.com/query/v4/docs/examples/react/react-router.
The issue is we can't have the query 'status' where we're using useQuery & it's always in 'success' state.
Thanks in advance.
An example showing how to implement React Router. in React Query
