Radio and PodcastRadio and PodcastLive Radio & Podcasts
Exploring useActionState artwork
Technology

Exploring useActionState

Frontend First by Frontend First

Nov 14, 202400:59:57Technology

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 R...

About This Episode

Exploring useActionState is an episode from Frontend First by Frontend First. 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 dev...

Podcast

This episode belongs to Frontend First.

Listen Online

Use the player on this page to stream the episode online.

Episode Details

Published Nov 14, 2024, 00:59:57 long, audio available.

Questions About This Episode

What is Exploring useActionState about?

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. Timestamps: 0:00 - Intro 1:51 - How React normally eliminates state in synchronous apps 8:20 - How useActionState lets React eliminate state in asynchronous apps 18:17 - Why you shouldn't just pass server actions into useActionState 23:00 - TCP/IP and UDP analogy 26:39 - Thinking of useActionState like enqueue 34:55 - Why the term "reducer" is too loaded for best understanding useActionState 51:07 - How useActionState helps you build a Todo app that stays responsive during pending actions

Where can I listen to Exploring useActionState?

You can listen to Exploring useActionState online on Radio and Podcast. Open the player on this page to stream the available audio.

Which podcast is Exploring useActionState from?

Exploring useActionState is an episode from Frontend First by Frontend First.

How long is this episode?

This episode is 00:59:57 long.

When was this episode published?

This episode was published on Nov 14, 2024.

Can I save Exploring useActionState for later?

Yes. Use the heart button on the episode page to add it to your favorite episodes list.

Are there related episodes from Frontend First?

Yes. This page shows related episodes from Frontend First when more episodes are available from the podcast feed.

Quick Answers About This Episode

Where can I listen to Exploring useActionState?

You can listen to Exploring useActionState on this page when the episode audio is available from the podcast feed.

Which podcast is this episode from?

Exploring useActionState is from Frontend First by Frontend First.

What are the episode details?

Published Nov 14, 2024 and 00:59:57 long