getServerSideProps Data Fetching | NextJS Crash Course

preview_player
Показать описание


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
Рекомендации по теме
Комментарии
Автор

Cheers, I learned that fetching server side can't be done in components. Only within files in the pages folder.

MotivationVideos
Автор

I'm confused, the word query does not appear in the URL. Does a page that calls getServerSideProps have to be in square brackets? Do the square brackets make the "query" text disappear? What happens if you have two pages both enclosed with square brackets, how do you know which one you are interacting with?

smeaden
Автор

how to do error handling when the request fails?

mdridoy-efpw
Автор

can you get me an updated GitHub repository link for this code ?

viveknemade