Goodbye, useState with David Khourshid

00:00:00
/
00:36:54

July 22nd, 2025

36 mins 54 secs

Season 4

Your Host
Special Guest
Tags

About this Episode

David Khourshid, founder of Stately.ai, joins us to discuss better ways to manage complex state in React applications. We explore the pitfalls of overusing useState, how discriminated unions and state machines improve app logic, the role of server components, and the growing importance of query strings and persistent state management. He also shares insights on modern third-party libraries, React’s missing "store" primitive, and when developers should rethink their entire approach to state modeling.

Links

X: https://x.com/DavidKPiano
Github: https://github.com/davidkpiano
LinkedIn: https://www.linkedin.com/in/davidkpiano/

Resources

React Miami talk: https://www.youtube.com/watch?v=d3mhZbBOxbE

We want to hear from you!

How did you find us? Did you see us on Twitter? In a newsletter? Or maybe we were recommended by a friend?

Let us know by sending an email to our producer, Em, at [email protected], or tweet at us at PodRocketPod.

Follow us. Get free stickers.

Follow us on Apple Podcasts, fill out this form, and we’ll send you free PodRocket stickers!

What does LogRocket do?

LogRocket provides AI-first session replay and analytics that surfaces the UX and technical issues impacting user experiences. Start understanding where your users are struggling by trying it for free at LogRocket.com. Try LogRocket for free today.