getStaticPaths Data Fetching | NextJS Crash Course

preview_player
Показать описание
In this video we talk about getStaticPaths in NextJS. If a page has dynamic routes (documentation) and uses getStaticProps it needs to define a list of paths that have to be rendered to HTML at build time.

NextJS Crash Course Video Outline:

I send out one email the first day of every month with new YouTube videos, Medium posts, stuff I’ve been working on, and anything else programming related I’ve found interesting.

🎒 My Gear 🎒

📧 Connect with me 📧

#nextjs
Рекомендации по теме
Комментарии
Автор

Question: Can you also instead fetching from an url, just route to a internal file like ') ?

remofurrer
Автор

Today I learnt getStaticPaths Just like that :)

murthyfwdmails
Автор

I'm getting `ReferenceError: _ is not defined` for the getStaticPaths function

vijethrevankar