Get the app
David Khourshid
Founder of Stately.ai and software developer. He discusses state management in React applications, including the pitfalls of overusing useState and the benefits of discriminated unions and state machines.
Best podcasts with David Khourshid
Ranked by the Snipd community
41 snips
Jul 22, 2025
• 37min
Goodbye, useState with David Khourshid
chevron_right
David Khourshid, founder of Stately.ai, shares his expertise in state management for React applications. He discusses the dangers of overusing useState and introduces discriminated unions and state machines as powerful alternatives. The conversation dives into the role of React server components, emphasizing their benefits for data fetching. Khourshid also addresses the balance between custom solutions and third-party libraries, urging developers to rethink their approach to state modeling for better clarity and efficiency.
The AI-powered Podcast Player
Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
Get the app