#nextjs #nextjs13 #nextjstutorial #DATAHACKS #getstaticprops
Next.js Tutorial #14 Get static props for static pages
In this video , we'll learn about getstaticprops. When you export a function called getStaticPaths (Static Site Generation) from a page that uses dynamic routes, Next.js will statically pre-render all the paths specified by getStaticPaths
Time stamp
0:00 - Introduction
0:21 - Data Fetching
01:00 - getstaticpaths
02:47 - when should i use getstaticprops?
04:42 - Practical Demo static page without data
06:40 - Practical Demo static page with data
View previous video for better understanding
Static Generation = • Next.js Tutorial #13 Static Generation