trpc call inside getServerSideProps?
(create-t3-turbo) I have a dynamic route for users' stuff,
I need to validate
which works fine tbh - but i dont like how i need to
does it make sense to just trpc in client and redirect on useEffect + useRouter?
stuff/xyz they can they go to stuff/xyz/doStuff or stuff/xyz/doOtherStuffI need to validate
xyz that it exists in my DB - then redirect to 404 if fails, so far ive done it with prisma client directly (inspired from zapdos kinda)which works fine tbh - but i dont like how i need to
import { Stuff } from ".prisma/client"; for my prop type and how im not using trpc for this (tbh) - is there a way to use trpc here or simply a better way?does it make sense to just trpc in client and redirect on useEffect + useRouter?
