React 19: useActionState
Ryan Toronto
View ChannelAbout
No channel description available.
Latest Posts
Video Description
In this video, we'll build a form using React's new useActionState hook, introduced in React 19. Along the way, we'll explore other exciting features from React 19, including form actions, server functions, and server components. Learn how these tools make building forms easier than ever! One thing I forgot to mention: useActionState can only be used inside client components. That's why we have a separate registration form component — it's a client component, but I forgot to show/explain that in the video. Black Friday Sale: https://buildui.com - 0:00 - Intro - 0:25 - Actions and server functions - 5:09 - Returning data to the browser - 7:21 - Use action state - 12:21 - Adding feedback to the form - 14:53 - Actions and transitions - 19:48 - Updating existing records - 26:23 - Using cookies - 32:06 - Why do we need a new hook?
Boost React Skills Today
AI-recommended products based on this video

The Gingerbread Bakery: The brand-new enemies to lovers cozy romance for 2025 from the international No 1 best-selling author of The Pumpkin Spice Café (Dream Harbor Book 5)

Gold: The Plated Prisoner Series, Book 5

GLEAM Sheet Music Stand - Full Metal with Carrying Bag, Phone Holder, Sheet Music Folder and Clip, 5 in 1 Desktop Book Stand

A Court of Thorns and Roses Paperback Box Set (5 books)

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men



