October 21st, 2022 × #tRPC#GraphQL#TypeScript
Supper Club × tRPC With Alex KATT Johansson
Alex Johansen discusses tRPC, an alternative to REST and GraphQL for calling functions between client and server using TypeScript for type safety.
In this supper club episode of Syntax, Scott talks with Alex Johansson about his work on tRPC, how it compares to other tools like GraphQL, and what's next for tRPC?
Polypane - Sponsor
If you want to build a great website or web app, there's a million things you need to take care of: responsive design, accessibility, SEO, Meta tags and page structure, to name just a few. Polypane is the browser for developers with tools that help with literally every part of modern web development, helping you save hours (and frustration!) with every project. It shows your site in multiple fully-synced viewports at once, Gives you advice on better accessibility and gives you insight into your performance and quality. Go to polypane.app/syntax to start a 14 day free trial and use SYNTAX20 for a 20% discount at checkout.
FireHydrant - Sponsor
Incidents are hard. Managing them shouldn’t be. FireHydrant makes it easy for anyone in your organization to respond to incidents efficiently and consistently. Intuitive, guided workflows provide turn-by-turn navigation for incident response, while thoughtful prompts and powerful integrations capture all of your incident data to drive useful retros and actionable analytics.
Kontent by Kentico - Sponsor
Kontent by Kentico is a headless CMS that provides live editing experience to non-technical users and hands you the technical tools to build websites, mobile apps, voice assistants, or anything else where you need content. Use REST API or GraphQL and get your content via the global Fastly CDN. Designed to unify all your content and operations, in compliance with ISO27001 and SOC2Type2 certifications.Spin up a new project today and discover Kontent.
Show Notes
- 00:37 Welcome
- 01:56 Guest introduction
- @Alexdotjs on Twitter
- Alex on GitHub
- Katt.dev
- tRPC.io
- 02:47 What is tRPC?
- 06:56 How does type safety work?
- 10:38 Sponsor: Polypane
- 13:20 What is Zod?
- 17:39 How does tRPC relate to GraphQL?
- 23:47 Sponsor: FireHydrant
- 25:25 What about a data loader?
- 29:04 React or NextJS adapters
- 30:41 How does it feel when people start building off your project?
- 33:58 Sponsor: Kontent by Kentico
- 37:34 What's next for tRPC?
- 42:42 How is error handling done?
- 48:43 Supper Club questions
- 54:42 SIIIIICK ××× PIIIICKS ×××
××× SIIIIICK ××× PIIIICKS ×××
Tweet us your tasty treats
- Scott's Instagram
- LevelUpTutorials Instagram
- Wes' Instagram
- Wes' Twitter
- Wes' Facebook
- Scott's Twitter
- Make sure to include @SyntaxFM in your tweets