Next.js newbie here. I've been reading through the Next.js docs and came across this:
Next.js generates a JSON file holding the result of running
getStaticProps. The JSON file will be used in client-side routing throughnext/linkornext/router. When you navigate to a page that's pre-rendered usinggetStaticProps, Next.js fetches this JSON file (pre-computed at build time) and uses it as the props for the page component.
My question is, why is this JSON file needed? If the page is rendered into static HTML at build time using the props provided by getStaticProps, why does the page component exist at runtime and needs access to those props?