Exploration of various ways ISR reacts / responds to errors and different prop returns. See the pages directory for the various tests. Each of the tests are prefixed with isr-.
Note that all test results are taken against a production build npm run build.
npm cinpm run devIncremental Static Regeneration (ISR) is made available in next.js by default. It allows us to create and update static pages after the site is built. We can use static generation on a per-page basis, without needing to rebuild the entire site. The individual pages can be (re)generated on demand.

ISR works in tandem with two static generation features from next.js:
getStaticProps– If you export an async function called getStaticProps from a page, Next.js will pre-render this page at build time using the props returned by getStaticProps.getStaticPaths– If a page has dynamic routes and uses getStaticProps it needs to define a list of paths that have to be rendered to HTML at build time. If you export an async function called getStaticPaths from a page that uses dynamic routes, Next.js will statically pre-render all the paths specified by getStaticPaths.getStaticProps runs on every page request. If getStaticProps errors, the next.js error overlay view is shown.