ConvexQueryCacheProvider in Expo?
I'm adding the following import to my Expo app:
import { ConvexQueryCacheProvider } from 'convex-helpers/react/cache/provider';
and wrapping the app with <ConvexQueryCacheProvider>
But somehow I still get the error message saying that this provider is missing. I'm wondering if this is supposed to work in RN/Expo?7 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
This used to be an issue in an older version, what version of convex-helpers are you running?
hmm I'm on
0.1.71
which is the latest version...oh wait
I think there's a higher import, one sec
Yeah you just want:
oh lemme try
Use the same import path for your useQuery import as well
The docs do say use the one you're already using for Next.js, though. I don't know if that's SSR specific or what
think what you said fixes it!
will report back if this changes