![]() ![]() The following screenshot from the tRPC website just explains why tRPC. tRPC just allows you to build it without an intermediate step. There are alternatives like GraphQL CodeGen but they essentially are a build step which generate types based on your GraphQL, which is kind of eh. API Routes allow us to build fullstack routes easier and faster. TRPC is one of the best ways, in my opinion to create a fully typesafe API. From routing to API definitions to image rendering, we trust Next.js to lead developers toward good decisions. ![]() Next.js offers a lightly opinionated, heavily optimized approach to creating applications using React. I have given so many more React frameworks a try, but Next.JS just works Just pick what you want to use and get up and running! It consists of:Įver since I gave Next.JS a try, it has been one of my favourite frameworks to It is a stack which just works out of the box, but is yet so customisable. Quoting the website, "We made create-t3-app to do one thing: Streamline the setup of typesafe Next.js apps WITHOUT compromising modularity" which is so true. I came across it when I was taking a look at tRPC and was amazed by how efficient, it made me while creating an app.įirst of all, what is tRPC. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |