Closed affansk closed 11 months ago
I am using usequery hook on home screen, now i have to access that cache on other screen. I am looking for documentation but not able to find.
otherwise i have to use useQuery again
You can create a custom hook with that useQuery function and re-use it in the another screen. For more modularity and re-use, you can use useQueryJob which takes a QueryJob which is reusable
useQuery
useQueryJob
QueryJob
I am using usequery hook on home screen, now i have to access that cache on other screen. I am looking for documentation but not able to find.
otherwise i have to use useQuery again