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