Рет қаралды 20,508
This video will look at intercepting routes in NextJs 14. Intercepting routes allow you to display the content of a different route without switching contexts. We’ll combine this with parallel routes to create a photo gallery with a preview modal.
👉🏼 The Ultimate NextJs 14 Course
→ www.hamedbahram.io/courses/ne...
👉🏼 Parallel routes in NextJs 14
→ • Parallel Routes in Nex...
👉🏼 Project source code (Github)
→ github.com/HamedBahram/next-i...
👉🏼 Project inspiration (vercel-labs/nextgram)
→ github.com/vercel-labs/nextgram
👉🏼 Work with me
→ www.hamedbahram.io/hire
Chapters
0:00 Intro
1:40 Concept
9:16 Project setup
12:30 Add photos page
13:10 Add dynamic route
14:15 Add Intercepting route
16:55 Dismissing the modal
18:40 Add parallel route
24:25 Recap