GetStaticProps: page2

This illustrates how you can use getStaticProps similarly to getInitialProps.

GetStaticProps: page2

page2