Using T3 as API & Admin Panel Layer then consuming API layer tRPC on React Native 🤔 utils/api.ts ðŸ˜
Im pretty new to tRPC , what i have understood is that tRPC typing is being consumed by the front-end using utils/api.ts.
Does this mean if i use T3 as an API layer & Admin Panel layer then i have to copy paste the utils/api helper to my React Native project to have front-end typing :?
13 Replies
do i have to add AppRouter Typing to a different project for both projects to consuming the typing? im confused ðŸ˜
maybe i have to add my react native project to T3 also to have the typing support of my T3 API Layer?
trpc with next is using next api route as a way to communicate
okay yea but on my react native project
when i setup tRPC
imma need that AppRouter typing right?
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 - GitHub - t3-oss/create-t3-turbo: Clean and simple starter repo using the T3 Stack along with Expo React Native
check this repo
holy shit there is a turbo version
its t3 + turborepo + react native
it's a more specific template
fck yes
thank you
this makes it 100x complex but worth it wahahhah
more complex to start
but less complex after
i have no fcken clue how imma sell this idea to the team wahaha
try to ask for comment about it
show your points and hope that things go well
i feel like they would only wine about
expo
i fcken pray
i know the feel