With GraphQL, you can write your schema to relate data and then you can run into a situation where you have some data that is connected to some data. And without knowing it you might accidentally do 40 different DB queries when you could probably do it in one relational query so with TRPC, it doesn't care right it doesn't have any any step in there. It's just do your database stuff and send the data. Yeah, there's no relationship between the sort of entities in your back end. So, like in GraphQL, like you can do this thing where you fetch 10 posts and then with every post you need to fetch that offer and that becomes another 10 requests. Like
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
××× SIIIIICK ××× PIIIICKS ×××
Tweet us your tasty treats