rediahmds / scratch-blog-nextjs

Home Page:https://scratch-blog-nextjs.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About this repo

The goal is to recreate the website in Next.js tutorial

The final result must be identical or even better than this Next.js Sample Website.

Learning Notes

  • getStaticProps is used to fetch external data. Then, Next.js will read that data and do its work. The return value of this function usually passed into a component.
  • getStaticPaths to generate static paths. Each of that paths will be rendered as individual page.

About

https://scratch-blog-nextjs.vercel.app


Languages

Language:TypeScript 88.6%Language:JavaScript 6.3%Language:CSS 5.1%