Just tried tRPC with Next.js after months of traditional API routes...
Holy shit, the difference is night and day.
No more:
— Manual type definitions for every endpoint
— Praying your frontend types match backend reality
— Wrestling with fetch() boilerplate
— Zod validation setup on both ends
🧵 1/4
@KrishnaCha46138@Kohlifi18 Batsman can come 3-4 steps out of the crease , bowler cannot come millimeter outside of the bowling mark
Batsman can play with any hand, bowler have to tell umpire
wtf are you talking about