Frontend First
Frontend First
Sam Selikoff, Ryan Toronto
Exploring useActionState
59 minutes Posted Nov 14, 2024 at 7:47 pm.
0:00
59:57
Download MP3
Show notes
Sam and Ryan talk about React 19's useActionState hook. They discuss how adding async functions to a plain React app introduces lots of in-between states that developers must grapple with, and how useActionState allows React to collapse and eliminate these states, bringing the simplicity of React's sync mental model to our async code.