We created a form in T3 Stack which uses TypeScript, TailwindCSS and tRPC API and used the trpc.useQuery function as well as the trpc.mutation for mutating the data back to the Prisma ORM Database.
In this tutorial the main focus was on how to use the default value in the React-hook-forms library and in later half the focus was on how to update the value into the database on form submission