Luka
server calls alongside new react integration
Started migrating to new react integration. Before that I used to have a react client and a caller for server side calls. Was following create-t3-turbo on how they migrated and it seems like they dont have a caller anymore. Was wondering if i should just continue using the caller for the server side calls or there's a new alternative that i dont know of
5 replies
TRPC with Turborepo Nextjs
Do you guys usually put trpc inside the nextjs project or have it outside as a separate package/service?
I've seen some people put the whole trpc in a package of its own and just import the api object in nextjs from the package. wondering what are the advantages and disadvantages of the either way
3 replies
React Query client and caller client under one object
Would love to know if it is possible to have caller and react query clients under one object?
I feel like it would be great to go api.cart.getCartItems() in server components that would utilise caller and api.card.getCartItems.useQuery() in client components.
5 replies