Extend data fetching snippets
With this release we are adding the 3 latest additions to Next.js framework - getStaticProps()
, getStaticPaths()
and getServerSideProps()
. You can read more about the functions here - https://nextjs.org/docs/basic-features/data-fetching.