Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Revalidate with Next.js - On-Demand Revalidation in Nextjs 13

Dave Gray via YouTube

Overview

Explore the intricacies of revalidation in Next.js 13 through this comprehensive tutorial video. Dive into both Background Revalidation and On-Demand Revalidation techniques, learning how to apply them effectively to your Next.js applications or blogs. Gain insights into route segment config options, including dynamicParams and revalidate. Follow along as the instructor demonstrates building an app, implementing revalidation, and understanding the mechanics of Incremental Static Regeneration (ISR). Master the process of creating and storing secret tokens, setting up revalidate API routes, and handling revalidation requests. By the end of this 28-minute guide, you'll have a solid grasp on implementing and managing revalidation strategies in your Next.js projects.

Syllabus

Intro
Welcome
Starter Code & Lesson Plan
Application Overview
Two Types of Revalidation
Route Segment Config Options
dynamicParams config option
revalidate config option
Setting the route segment config option
Build App & Try Revalidating
How Background Revalidation & ISR works
On-Demand Revalidation
Create & Store a Secret Token
Revalidate API Route
Revalidate Request URL
Revalidate Request Handler
Trying out On-Demand Revalidation
Blog Workflow & Wrap-up

Taught by

Dave Gray

Reviews

Start your review of Revalidate with Next.js - On-Demand Revalidation in Nextjs 13

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.