Next.js 13.4 Server Actions in 24 Minutes πŸš€

Learn Next.js 13.4 Server Actions quickly! Perfect for beginners. Join my course to become a full-stack hero. https://www.papareact.com/course

Next.js 13.4 Server Actions in 24 Minutes πŸš€
Sonny Sangha
74.5K views β€’ Jul 6, 2023
Next.js 13.4 Server Actions in 24 Minutes πŸš€

About this video

🚨 Join my course Zero to Full Stack Hero: https://www.papareact.com/course

Next.js 13.4 just levelled up, bringing an important upgrade - the introduction of server actions. In this video, I will show you how to use them and why they might save you a significant amount of time and hassle by doing so!

πŸ”΄ LOOKING FOR THE CODE FROM THE BUILDS? πŸ› οΈ
https://links.papareact.com/github

πŸ“© WANT TO LISTEN TO THE EXCLUSIVE PAPAFAM PLAYLIST?
Sign up for the PAPAFAM Newsletter here πŸ‘‰ https://links.papareact.com/newsletter

πŸ‘‡πŸ»FOLLOW ME HERE:
Instagram: https://links.papareact.com/instagram
Facebook: https://links.papareact.com/facebook
LinkedIn: https://links.papareact.com/linkedin
Twitter: https://links.papareact.com/twitter
Discord: https://links.papareact.com/discord

πŸ’° WANT TO SUPPORT THE CHANNEL?
Donate here: https://links.papareact.com/donate
Grab some PAPA Merch: https://links.papareact.com/merch

πŸ• TIMESTAMPS:
00:00 Introduction
00:12 Benefits of Server Actions
00:38 Enabling Server Actions Feature
01:42 Building a Product Warehouse Example
03:16 Implementing MockAPI for the Backend
04:54 Adding an async / await function without caching
06:40 Explaining why we Need Server Actions (w/ Visuals)
08:10 Implementing a Server Action in a Server Component
11:49 Fixing the UI Update Problem with Tags
13:42 Explaining Progressive Enhancement
13:58 Explaining why Server Actions are Composable
15:37 revalidateTag vs revalidatePath
16:26 Implementing a Server Action in a Client Component
20:26 Adding multiple Server Actions
21:27 Explaining why startTransition disables Progressive Enhancement
23:09 Quick brief on useOptimistic Hook
23:53 Server Actions Summary
24:26 Outro

Let’s get it PAPAFAM πŸ”₯.

#nextjs #reactjs #serveractions #tutorial #javascript #beginner #webdevelopment #tailwindcss

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

74.5K

Likes

2.9K

Duration

24:45

Published

Jul 6, 2023

User Reviews

4.7
(14)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.

Trending Now