filmov
tv
getInitialProps Data Fetching | NextJS Crash Course

Показать описание
In this video we take a look at how you can fetch data in NextJS using getInitialProps. We fetch data from the GitHub API as an example.
getInitialProps enables server-side rendering in a page and allows you to do initial data population, it means sending the page with the data already populated from the server. This is especially useful for SEO.
(0:00) Introduction
(0:40) getInitialProps
(3:22) looking at the generated code
(4:18) Another example
(5:03) NextJS 9.3 or higher exception
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 #getInitialProps
getInitialProps enables server-side rendering in a page and allows you to do initial data population, it means sending the page with the data already populated from the server. This is especially useful for SEO.
(0:00) Introduction
(0:40) getInitialProps
(3:22) looking at the generated code
(4:18) Another example
(5:03) NextJS 9.3 or higher exception
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 #getInitialProps
getInitialProps Data Fetching | NextJS Crash Course
Fetching Data with getInitialProps in Next.js
Fetching with Next.js 14 — Course part 15
Next.js Tutorial - Part 2 | Data Fetching with getInitialProps
Next.js Tutorial #10 - Fetching Data (getStaticProps)
Fetching Data with getInitialProps Universal React with Next js | Part 9
Next.js No longer use SSR/SSG functions
Server-side data fetching in Next.js 12 vs. 13
Next.js Tutorial - Part 9 | Data Fetching with getServerSideProps
Next.js Server Side Rendering and getInitialProps
#6 getInitialProps explained | isomorphic unfetch npm | Context Explained | Next Js for beginners
16 How getInitialProps works
8 fetching data from the server using getInitialProps
Beginner's Guide to Data Fetching in Next.js: How to Fetch Data on the Client and Server Side
Next.js 14 Data Fetching, Caching, and Revalidation #nextjs
Next.js Tutorial - 36 - Client-side Data Fetching
getStaticProps Data Fetching | NextJS Crash Course
getServerSideProps Data Fetching | NextJS Crash Course
Next.js Data Fetching complete guide
Next JS Data fetch optimization #18
Next.js #3 - Data Fetching & getStaticProps
Next.js Pass Data From One Page to Another Page
#7 getStaticProps Nextjs | getstaticpaths next js | getstaticprops vs getinitialprops | not working
How To Use Pre-rendering and Data Fetching - a Next JS Tutorial
Комментарии