next-data-fetching
next-data-fetching copied to clipboard
This is a repo with all the data fetching methods of Next.js v10.
Next.js v10 Data Fetching Boilerplate
In this repo you will find all the data fetching methods like: Server sider rendering, static site generation, incremental static regeneration on basic react client-side rendering.
The fetching methods are getServerSideProps, getStaticProps. The old method was getInitialProps.
In another video, we will talk about what getStaticPaths does.