TypeScript, React, and API Issues with Matt Pocock
Aug 3, 2023
auto_awesome
Guest Matt Pocock, TypeScript expert, shares his journey with TypeScript, benefits of functional components, and advice on transitioning teams. They discuss API contract issues, React hooks, and the importance of TypeScript for modern development.
TypeScript boosts developer confidence and productivity with improved error detection and faster issue resolution.
Transitioning from class components to hooks in React enhances development environment satisfaction.
Matt Pocock's advocacy for TypeScript stems from its indispensable role, inspiring him to educate others on its efficiency.
Deep dives
Matt Pocock's Background in TypeScript Education
Matt Pocock, a full-time TypeScript educator, shares his journey from working at Vercel to focusing on TypeScript education and advanced concepts. His experience at Stately working on xstate led him to become an advocate for TypeScript, sharing advanced techniques and coding approaches through YouTube and course materials.
Dalmore 12 Whiskey Tasting Experience
Matt Pocock, known for his whiskey aficionado status, joins Robbie and Charles in tasting Dalmore 12-year-old whiskey, exploring its fruity and smooth flavors from aging in American white oak and sherry casks. The discussion around the tasting experience includes flavor notes and the overall enjoyment of the milder 80 proof whiskey.
Debating the Use of Inferred Types vs. Explicit Types in TypeScript
Matt Pocock delves into the debate around using inferred types versus explicit types in TypeScript, emphasizing the benefits of inferred types for handling complex state machine types and advanced TypeScript functionalities. He highlights scenarios where explicit types are useful and discusses navigating complex type scenarios.
Introducing New Features in TypeScript 5.2 Beta
Matt Pocock previews upcoming features in TypeScript 5.2 Beta, focusing on the new 'using' keyword inspired by C#, which facilitates automatic resource disposal like closing connections. This feature streamlines resource management tasks, adding efficiency and automating closure processes for improved development workflows.
Matt Pocock's Football Manager Gaming and Background in Performance Arts
Beyond his expertise in TypeScript, Matt reveals a passion for gaming, particularly Football Manager, and shares insights into his former career as a voice and singing teacher. His background in performance arts nurtured his confidence in technical discussions and public speaking, aligning with his current roles in teaching and coding.
Matt Pocock, a TypeScript educator and author of Total TypeScript, became an evangelist for the programing language after searching for a solution for a project plagued by API contract issues. When TypeScript brought newfound confidence and increased velocity to the team, Matt never looked back.
Matt highlights the benefits of functional components and the seamless transition from class components to hooks, leading to a happier development environment for everyone involved. From improved error detection to real-time catching of potential issues, TypeScript provides an unmatched level of comfort and productivity for developers, making it a must-have in modern development. For developers like Matt, TypeScript is more than just a tool—it's an indispensable companion. His love for TypeScript inspired him to dedicate his career to teaching other developers how to adopt and leverage the language for optimal efficiency.
In this episode, Matt talks to Robbie and Chuck about his journey with TypeScript, his experience with React hooks, and advice on transitioning a team to Typescript.
Key Takeaways
[00:49] - Introduction to Matt Pocock.
[01:52] - A whiskey review: The Dalmore 12.
[06:58] - Tech hot takes.
[19:19] - When Matt started using TypeScript.
[22:30] - Converting components to TypeScript.
[29:29] - The biggest mistake people make with TypeScript.
[33:07] - New features coming to TypeScript.
[36:36] - Advice for teams hesitant to use TypeScript.
[42:40] - Matt, Chuck, and Robbie discuss football and gaming.
[48:32] - Matt's career as a voice coach.
Quotes
[23:55] - “TypeScript gives you a different way of coding, and a different way is, you feel like you could just get away with anything.” ~ Matt Pocock
[25:21] - “For me, when I’m not using TypeScript, it feels like I’m coding in low power mode.” ~ Matt Pocock
[26:35] - “If someone gets really into TypeScript, they just love it, and they don’t stop loving it.” ~ Matt Pocock
This show is brought to you by Ship Shape. Ship Shape’s software consultants solve complex software and app development problems with top-tier coding expertise, superior service, and speed. In a sea of choices, our senior-level development crew rises above the rest by delivering the best solutions for fintech, cybersecurity, and other fast-growing industries. Check us out at shipshape.io.
Get the Snipd podcast app
Unlock the knowledge in podcasts with the podcast player of the future.
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