PLAY PODCASTS
Goodbye, useState with David Khourshid

Goodbye, useState with David Khourshid

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.

PodRocket

July 22, 202536m 54s

Audio is streamed directly from the publisher (dts.podtrac.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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.

Special Guest: David Khourshid.

Topics

Reactstate managementuseStateuseReducerXStateXState StoreDavid KhourshidPodRocketStatelyserver componentsdiscriminated unionsquery stringsReact contextReact hooksstate machineslocal storageglobal stateReact QueryTanStackRemixNuxtJavaScriptfrontend developmentuseEffectReact architectureperformance optimizationURL statederived stateatomic stateapp logicreact storeZustandJotaiReduxRecoilsolidjsSvelteuseContextAI generated codeReact podcastdeveloper toolsReact best practicesweb development Ask ChatGPT