With TRPC, it solves that by just having a function. And you import that function and you don't have to worry about query names or is that correct? Yeah, exactly. You sort of you define a client set that sort of becomes an SDK on the front end once you define like a TURPC client where you pass in your whole backend,. And then that's object is then typed where you can call any function in your backend very easily. It doesn't have any dependency, doesn't care about the environment. So you can use it for server to server communication or with any sort of JavaScript framework. The official packages are the server, which works with Dino and BUN
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