The promise of tRPC is end-to-end typesafe APIs. In this episode, Alex / KATT will teach us what that means and how we can get started using tRPC in a React app.
0:00:00 - Welcome
0:00:33 - Guest introduction
0:03:35 - What is tRPC?
0:12:37 - How much set up is involved to add tRPC to a project?
0:19:26 - First steps for getting started with tRPC
0:27:25 - Explaining what’s going on in our first app
0:51:06 - Getting data from Prisma
1:03:28 - How navigation on a page works
1:08:53 - Is the time configurable for batching requests?
1:10:03 - How could someone use tRPC in Vue or Nuxt?
1:10:54 - Building a comment form
1:22:16 - Where can people learn more about tRPC?
* repo: https://github.com/learnwithjason/lets-learn-trpc
Links:
- https://trpc.io/
- https://trpc.io/docs/awesome-trpc
- https://www.learnwithjason.dev/let-s-learn-prisma
Watch future episodes live at https://twitch.tv/jlengstorf
This episode was sponsored by:
- Netlify (https://lwj.dev/netlify)
- Nx (https://lwj.dev/nx)
- Backlight (https://lwj.dev/backlight)
Live transcription by White Coat Captioning (https://whitecoatcaptioning.com/)
Credits:
Local Elevator by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1300012
Artist: http://incompetech.com/
Busybody by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Artist: http://audionautix.com/
Additional sound effects obtained from https://www.zapsplat.com