How to use react-query with the create-t3-app starter (non-TRPC call) ?

Hey ! I wanted to know if someone know how to use react-query with the create-t3-app starter. The starter seems to use react-query but there is no QueryClientProvider in the _app.tsx.
3 Replies
cje
cje2y ago
just use react query there's a QueryClientProvider inside the withTRPC hoc (obviously only use it for external apis)
Mattèo
Mattèo2y ago
Okay, thanks a lot, I didn't know that 👍
Justus
Justus8mo ago
@Mattèo @cje do you mind sharing a code example showing how to use useMutation? I think my question is similar to yours, if you guys have already figured it out – any help would be highly appreciated 🙏 https://discord.com/channels/966627436387266600/1203457399256645693
Want results from more Discord servers?
Add your server