zart icon indicating copy to clipboard operation
zart copied to clipboard

Modernizing to tRPC v10

Open zomars opened this issue 2 years ago • 14 comments

refs trpc/trpc#2118

  • Adds turborepo
  • Upgrades tRPC to v10
  • Replaces some scripts for turbo repo pipelines
  • Fixes wrong import for expo
  • Adds type safety for next.config.js

zomars avatar Jul 12 '22 03:07 zomars

I have a repo you could look at for reference: https://github.com/juliusmarminge/turbo-expo-next-starter

juliusmarminge avatar Jul 12 '22 19:07 juliusmarminge

Please let me know if I've missed anything @KATT 🙏🏽

zomars avatar Jul 18 '22 19:07 zomars

I'm trying to incorporate solito as well, should I try to upgrade expo as well? @KATT

zomars avatar Jul 20 '22 15:07 zomars

I'm trying to incorporate solito as well, should I try to upgrade expo as well? @KATT

I would be careful about expo upgrades. Make sure the app works before and after :D

KATT avatar Jul 20 '22 17:07 KATT

I'm trying to incorporate solito as well, should I try to upgrade expo as well? @KATT

I would be careful about expo upgrades. Make sure the app works before and after :D

Maybe I can try on a follow up Pr

zomars avatar Jul 20 '22 17:07 zomars

I'm trying to incorporate solito as well, should I try to upgrade expo as well? @KATT

I would be careful about expo upgrades. Make sure the app works before and after :D

Maybe I can try on a follow up Pr

Expo just launched v46 beta with React 18 so I would hold off until thats stable

juliusmarminge avatar Jul 20 '22 17:07 juliusmarminge

Is it working in expo now? Could you update the readme if something has changed in how you use it?

KATT avatar Jul 20 '22 21:07 KATT

Is it working in expo now? Could you update the readme if something has changed in how you use it?

It should be working yeah. Nothing has changed AFAIK

zomars avatar Jul 20 '22 22:07 zomars

Expo has released 46 now 🙂

Norfeldt avatar Aug 05 '22 18:08 Norfeldt

Hey there, any news on this? I can't wait to have a try on it 😊

johann-taberlet avatar Aug 20 '22 08:08 johann-taberlet

A bit of self-promotion for a more minimal setup: create-t3-turbo

juliusmarminge avatar Aug 23 '22 13:08 juliusmarminge

Hey there, any news on this? I can't wait to have a try on it 😊

__

Im afraid my expo knowledge is limited, anyone feel free to take over my work on this PR. It's on a mergeable state if you ask me. Maybe upgrading expo can be a follow up.

zomars avatar Aug 23 '22 16:08 zomars

I was wondering why it is necessary to have the react-native/trpc.ts file and the react/trpc.ts file when only the latter is used.

elevyg avatar Sep 01 '22 13:09 elevyg

TBH I just kept what was already there

zomars avatar Sep 01 '22 16:09 zomars