Back to Browse

getServerSideProps Data Fetching | NextJS Crash Course

12.5K views
Aug 8, 2020
6:56

If you export an async function called getServerSideProps from a page, Next.js will pre-render this page on each request using the data returned by getServerSideProps. Social media dashboard GitHub: https://github.com/bjcarlson42/nextjs-social-dashboard NextJS website: https://nextjs.org/ Code in video: https://github.com/bjcarlson42/youtube/tree/master/8-2020 NextJS Crash Course Video Outline: Playlist: https://www.youtube.com/playlist?list=PLL1pJgYmqo2vYtT0v_7axfIG86fyL1whf Course Intro - https://youtu.be/_dqkETqCJXQ What is Next.js? - https://youtu.be/L8RaJZodkv8 Pages, CSS, Static Files - https://youtu.be/HM5kB2x1ccw getInitialProps - https://youtu.be/RgQxcw2R1q0 getStaticProps - https://youtu.be/VH_3hzpAPbQ getStaticPaths - https://youtu.be/nKg0132Nu0o getServerSideProps - https://youtu.be/qUhYZi-KMPQ ⬅️⬅️⬅️ You are here YouTube API - https://youtu.be/jVc8qVq0NR8 GitHub API - https://youtu.be/4g3Ziy20quY Strava API - https://youtu.be/fNOUHccIchU Deploying On Vercel - https://youtu.be/ben3vRAqvKE ✍️ Join my newsletter!! https://buttondown.email/benjamincarlson ✍️ 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 🎒 View my tech, camera, and productivity gear: https://benjamincarlson.io/gear CONTACT: [email protected] 📧 Connect with me 📧 Website: https://benjamincarlson.io Instagram: https://www.instagram.com/benscstutorials Twitter: https://twitter.com/benscstutorials Github: https://github.com/bjcarlson42 LinkedIn: https://www.linkedin.com/in/bjcarlson42/ Medium: https://medium.com/@benjamincarlson #nextjs

Download

0 formats

No download links available.

getServerSideProps Data Fetching | NextJS Crash Course | NatokHD