No layout
Simple
GetInitialProps
GetServerSideProps
GetStaticProps
UseInitialProps
GetStaticProps: Index
Click me to update state: (0)
This illustrates how you can use getStaticProps similarly to getInitialProps.
Index
Page2
Page3
GetStaticProps: Index
Click me to update state: (0)
Index