3min chapter

Syntax - Tasty Web Development Treats cover image

Supper Club × tRPC With Alex KATT Johansson

Syntax - Tasty Web Development Treats

CHAPTER

TypeScript

The way we built version nine, or I'm not going to blame anyone else, it's sort of this chainable router. So like every time you add a new query, you add something on an existing router. And that sort of creates a nonlinear complexity for the TypeScript language server where every procedure you add adds everything to memory. The best answer I have right now is like a lot of trial and error. There is some performance tracing tools in TypeScript as well that can guide you,. But they are really hard to use trial and error and sort of gut feeling.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode