React Hook Forms in T3 Stack with Default Values and tRPC Prisma Update Query

Опубликовано: 19 Октябрь 2022
на канале: Abdul Rehman 2050
2,024
14

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