Trying to find video where Theo wraps third party library in a type safe way?

Was trying to find that video where Theo explains how he wrapped Upstash or somethign similar, i can't remember where it is?? I wana build some kind of setup where i can publish upstash messages and have it be validated and call the correct function in my route handler, any ideas where i can find that vid or better yet a link to repo or something much love!
8 Replies
Jack Clackett
Jack Clackett3mo ago
Theres gota be somehow who remembers this?? begging for it 🙏
Neto
Neto3mo ago
Theo - t3․gg
YouTube
Ratelimiting Your APIs With Redis (The Theo-Proof Way)
The trolls almost ruined roundest.t3.gg - we stopped them 🙏 THANK YOU TO MY FIRST SPONSOR - UPSTASH https://upstash.com/?ref=theo Check out their Redis rate limiter package: https://github.com/upstash/ratelimit Original video for when I built Roundest https://www.youtube.com/watch?v=PKy2lYEnhgs Twitch link: https://twitch.tv/theo Twitter lin...
Neto
Neto3mo ago
this one?
Jack Clackett
Jack Clackett3mo ago
Naa it was one where he discusses how he sometimes wraps third party libraries in a typesafe way. Not sure if it was a dedicated video or part of a stream that never got made into a clip 😦
Rhys
Rhys3mo ago
It was the posthog analytics video, I'll send a link
Rhys
Rhys3mo ago
Jack Herrington
YouTube
Three Patterns for Type Safe Analytics using Typescript
Let's improve our analytics code using Typescript and trying three different methods. Demonstrating Typescript features like; keyof, function overloading and closures. Analytics library: https://www.npmjs.com/package/analytics Utility types: https://www.typescriptlang.org/docs/handbook/utility-types.html Function overloads: https://www.typescri...
Rhys
Rhys3mo ago
Theo - t3․gg
YouTube
How I Deal With Unsafe Packages
Obviously I love TypeScript. Sadly, not everyone does, and even fewer get typesafety correct when building packages with TypeScript. I hope my demo of adding better typesafe wrappers to both PostHog and Inngest is helpful to y'all! ALL MY VIDEOS ARE POSTED EARLY ON PATREON https://www.patreon.com/t3dotgg Everything else (Twitch, Twitter, Disco...
Jack Clackett
Jack Clackett3mo ago
Ahhh legend How did I not find this, was searching everywhere Ah it was inngest he was using, which is actually probably something I should have been using anyway - nice
Want results from more Discord servers?
Add your server