Server actions, RSC, Prisma, and TypeScript in NextJs 13

Hamed Bahram β€’ May 28, 2023
Video Thumbnail
Hamed Bahram Logo

Hamed Bahram

@hamedbahram

About

Modern web dev topics in React and NextJs.

Video Description

I this video we'll learn about server actions and end-to-end type-safety by building a todo app using React server components, Prisma, Mongodb, and Typescript. πŸ‘‰πŸΌ The Ultimate NextJs Course πŸ”— https://www.hamedbahram.io/courses/nextjs πŸ‘‰πŸΌ Source code (checkout `type-safety` branch) πŸ”— https://github.com/HamedBahram/next-starter-kit-ts Chapters 0:00 Intro 0:34 Project setup 3:00 Setting up Prisma 8:00 Fetching all todos 12:00 Adding types 13:40 NextJs 13 Course Introduction 15:00 Sever actions (create todo) 23:00 Revalidate path 25:00 Using useTransition hook 32:20 Progressive enhancement 33:20 Outro

Essential Gear for Your Next Adventure

AI-recommended products based on this video

Loading...
DJI Mic Mini (2 TX + 1 RX + Charging Case), Wireless Lavalier Microphone for iPhone/Camera/Android, Ultralight, Detail-Rich Audio, 48h Use, Noise Cancelling, Automatic Limiting, Vlog, Streaming
Best Seller

DJI Mic Mini (2 TX + 1 RX + Charging Case), Wireless Lavalier Microphone for iPhone/Camera/Android, Ultralight, Detail-Rich Audio, 48h Use, Noise Cancelling, Automatic Limiting, Vlog, Streaming

(4,886)
$136.00$130.56
FREE delivery Thu, Sep 4
10K+ bought in past month
Loading...
DJI Mini 4K, Drone with 4K UHD Camera for Adults, Under 249 g, 3-Axis Gimbal Stabilization, 10km Video Transmission, Auto Return, Wind Resistance, 1 Battery for 31-Min Max Flight Time, Intelligent Flight

DJI Mini 4K, Drone with 4K UHD Camera for Adults, Under 249 g, 3-Axis Gimbal Stabilization, 10km Video Transmission, Auto Return, Wind Resistance, 1 Battery for 31-Min Max Flight Time, Intelligent Flight

(1,978)
299.00
FREE delivery June 12 - 17. Details
4K+ bought in past month
Loading...
COOWPS Switch Case for Nintendo Switch and Switch OLED Model, Portable Full Protection Carrying Travel Bag with 18 Game Cards Storage for Switch Console Pro Controller Accessories Black

COOWPS Switch Case for Nintendo Switch and Switch OLED Model, Portable Full Protection Carrying Travel Bag with 18 Game Cards Storage for Switch Console Pro Controller Accessories Black

(2,497)
$24.99$22.99
FREE delivery Mon, Jun 16 on $35 of items shipped by Amazon
800+ bought in past month
Loading...
UGREEN Revodok Pro 210 Docking Station 10 in 1 USB C Dock Dual HDMI 4K@60Hz Single 8K@30Hz 100W PD 5Gbps USB C and USB A Data Ports Gigabit Ethernet, SD/TF Card Reader USB Hub Compatible for HP, Dell

UGREEN Revodok Pro 210 Docking Station 10 in 1 USB C Dock Dual HDMI 4K@60Hz Single 8K@30Hz 100W PD 5Gbps USB C and USB A Data Ports Gigabit Ethernet, SD/TF Card Reader USB Hub Compatible for HP, Dell

(1,701)
39.99
PrimeFREE delivery Saturday, June 14
100+ bought in past month
Loading...
Anker Power Bank(PowerCore 10K),Compact Travel-Ready 10,000mAh Battery Pack with PowerIQ Charging Technology,5V/3A High-Speed Charging for iPhone,iPad,and More (USB-C Input and Output(BlackοΌ‰οΌŒ1pack) ClimatePartner certified

Anker Power Bank(PowerCore 10K),Compact Travel-Ready 10,000mAh Battery Pack with PowerIQ Charging Technology,5V/3A High-Speed Charging for iPhone,iPad,and More (USB-C Input and Output(BlackοΌ‰οΌŒ1pack) ClimatePartner certified

(109,961)
$17.99$17.81
FREE delivery Fri, Aug 8 on $35 of items shipped by Amazon
10K+ bought in past month