IGMTCrypto
IGMTCrypto2mo ago

Can I use tRPC on multiple platforms?

I want to make tRPC + Next.js my primary tech stack for building all my full-stack web apps, but the problem is, what if in the future I decide to build a mobile app for this web app using Expo (a React Native framework)? Can I still use tRPC as my backend? Like, does it have a REST API that I can fetch from the Expo codebase?
4 Replies
H4nLee
H4nLee2mo ago
Well i will face up the same question so i am curious about the answer. Because i want to connect React Native app with trpc 🙂
Alex / KATT 🐱
GitHub
GitHub - t3-oss/create-t3-turbo: Clean and simple starter repo usin...
Clean and simple starter repo using the T3 Stack along with Expo React Native - t3-oss/create-t3-turbo
H4nLee
H4nLee2mo ago
FYI - In the end it was only needed this https://trpc.io/docs/v10/client/react/setup . As i already had trpc server and backend ready. So i just needed to run trpc client. 🙌 thanks
Set up the React Query Integration | tRPC
How to use and setup tRPC in React

Did you find this page helpful?