T
TanStack3y ago
fascinating-indigo

React Native: Refetch once push notification received

Hi guys Do you have an idea how to refetch once push notification received in react native? Is there a way to access queryClient outside the <App/> component.
1 Reply
foreign-sapphire
foreign-sapphire2y ago
yes if you export the queryClient into another file you will have access in all places but it will be difficult for testing

Did you find this page helpful?