Next.Js getStaticProps and re-fetching for static build html

Next.Js prior version 13 ( pages/ folder )Next.Js version 13.4 ( app/ folder )
getStaticProps with revalidatefetch(URL, { next: { revalidate: 10 } })use this one
getStaticPropsfetch(URL, { cache: ‘no-store’ })
getServerSidePropsfetch(URL, { cache: ‘force-cache’ })
getStaticPaths()generateStaticParams()

Leave a Reply